Minimal-nedtid-migrering till Azure Database for MySQLMinimal-downtime migration to Azure Database for MySQL
Azure Database for MySQL-en server
Azure Database for MySQL – flexibel Server
Du kan utföra MySQL-migreringar för att Azure Database for MySQL med minimal nedtid genom att använda den nyligen introducerade kontinuerliga synkroniseringen av Azure Database migration service (DMS).You can perform MySQL migrations to Azure Database for MySQL with minimal downtime by using the newly introduced continuous sync capability for the Azure Database Migration Service (DMS). Den här funktionen begränsar den mängd stillestånds tid som programmet ådragit sig.This functionality limits the amount of downtime that is incurred by the application.
Du kan också läsa mer om hur du migrerar databaser till Azure Database for MySQL med hjälp av Database migration guide .You can also refer to Database Migration Guide for detailed information and use cases about migrating databases to Azure Database for MySQL. Den här guiden ger vägledning som leder till en lyckad planering och körning av en MySQL-migrering till Azure.This guide provides guidance that will lead the successful planning and execution of a MySQL migration to Azure.
ÖversiktOverview
Azure DMS utför en inledande inläsning av din lokala plats för Azure Database for MySQL och synkroniserar sedan kontinuerligt alla nya transaktioner till Azure medan programmet fortsätter att köras.Azure DMS performs an initial load of your on-premises to Azure Database for MySQL, and then continuously syncs any new transactions to Azure while the application remains running. När data har fångats upp på Azure-sidan, stoppar du programmet under en kort stund (minsta stillestånds tid), väntar på den senaste data insamlingen (från den tidpunkt då du avbryter programmet tills programmet är effektivt otillgängligt för att ta ny trafik) och sedan uppdatera anslutnings strängen så att den pekar på Azure.After the data catches up on the target Azure side, you stop the application for a brief moment (minimum downtime), wait for the last batch of data (from the time you stop the application until the application is effectively unavailable to take any new traffic) to catch up in the target, and then update your connection string to point to Azure. När du är färdig är ditt program Live på Azure!When you are finished, your application will be live on Azure!
Nästa stegNext steps
- Mer information om hur du migrerar databaser till Azure Database for MySQL finns i Guide för databas migrering.For more information about migrating databases to Azure Database for MySQL, see the Database Migration Guide.
- Visa videon enkelt migrera MySQL/postgresql-appar till Azure Managed Service, som innehåller en demo som visar hur du migrerar MySQL-appar till Azure Database for MySQL.View the video Easily migrate MySQL/PostgreSQL apps to Azure managed service, which contains a demo showing how to migrate MySQL apps to Azure Database for MySQL.
- Se självstudien migrera MySQL till Azure Database for MySQL online med DMS.See the tutorial Migrate MySQL to Azure Database for MySQL online using DMS.