Welcome to the Microsoft Q&A and thank you for posting your questions here.
As I understand it, you're dealing with a database migration and have a few specific questions related to the process. I'm happy to help you with them.
We have a single server which says auto migration is scheduled. But we are not able to view who scheduled the migration automatically. please help.
Auto migration from a single server to a flexible server is typically scheduled by the Azure service itself. You can check the migration schedule and details in the Azure portal under the “Migration” blade of your single server instance.
For more information, please refer the documents:
https://learn.microsoft.com/en-us/azure/postgresql/migrate/automigration-single-to-flexible-postgresql
https://learn.microsoft.com/en-us/azure/postgresql/migrate/migration-service/tutorial-migration-service-single-to-flexible?tabs=portal%2Coffline
After single to flexi migration, can we still use single server if there are any issues in target flexi servers?
After migrating to a flexible server, the single server is generally set to read-only mode and eventually decommissioned. If there are issues with the target flexible server, you would need to address them directly on the flexible server as the single server won’t be available for write operations.
In case of several databases (10), which is best online or offline migration?
Online Migration: Minimizes downtime by keeping the source database online during the migration. This is ideal if you need continuous availability.
Offline Migration: Involves taking the source database offline, which can be faster but results in downtime. This might be suitable if you can afford a maintenance window.
For more information, please refer the documents:
https://learn.microsoft.com/en-us/azure/dms/faq-mysql-single-to-flex
https://learn.microsoft.com/en-us/azure/dms/resource-scenario-status#offline-vs-online-migration.
Will online or offline migration, also migrates users, roles, foreign data wrappers?
The migration service supports migration for users and roles only when the source is Azure Database for PostgreSQL - Single Server.
If your database uses this extension, the following steps must be performed to ensure a successful migration.
- Temporarily remove (unlink) the foreign data wrapper on the source instance.
- Perform data migration of the rest by using the migration service.
- Restore the foreign data wrapper roles, user, and links to the target after migration.
For more information, please refer the documents:
https://www.postgresql.org/docs/current/postgres-fdw.html
How long will the migration takes for db size around 70GB?
The time required for migrating a 70GB database can vary based on factors like network speed, server performance, and the complexity of the data. Generally, it could take anywhere from a few hours to a day.
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.