Thanks for the question and using MS Q&A platform.
When you choose offline mode for migration in Azure Database for PostgreSQL, only the database you are migrating (MyDB3) will be affected.
Here's what happens:
Offline Migration:
During the migration, MyDB3 will be in a read-only state. This means that no changes can be made to it, and no new connections will be allowed. MyDB1 and MyDB2 will keep working normally, and people can still connect to them. The server itself stays up and running. Only the database you’re migrating is affected.
Online Migration:
The database you’re migrating will stay online and users can still connect and make changes while it’s being moved.
If you migrate MyDB3 in offline mode, just that database will go down temporarily. Other databases and the server itself will stay online and unaffected.
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.