How to read the tables
Each row is a target. The columns sort the routes by the downtime of the switch: a maintenance window (hours), minutes, or practically none (seconds). The last column lists the tools that convert structure and code when the database engine changes.
A route that reaches less downtime always also fits a longer window. Online routes need more preparation: primary keys on every table, the right log settings and a rehearsal. The free scan tells you what in your own database makes them harder.
From SQL Server
| Target | A maintenance window | Minutes | Practically none | Structure and code conversion |
|---|---|---|---|---|
| SQL Server – Own server or VM | In-place upgrade · Backup and restore on a new server | Log shipping to the new server | Availability group (or distributed availability group) to the new server | – |
| Azure SQL Database | .bacpac export and import · Azure Database Migration Service (offline) | Transactional replication | – | – |
| Azure SQL Database Hyperscale | .bacpac export and import · Azure Database Migration Service (offline) | Transactional replication | – | – |
| Azure SQL Managed Instance | Native backup to URL and restore | Log Replay Service · Azure Database Migration Service (online) · Transactional replication | Managed Instance link | – |
| Amazon RDS for SQL Server | Native backup and restore via Amazon S3 | Full, differential and log backups via Amazon S3 · AWS DMS (full load + change data capture) | – | – |
| Babelfish for Aurora PostgreSQL | Babelfish Compass, structure scripts and a data copy | AWS DMS (full load + change data capture) | – | – |
| Cloud SQL for SQL Server | Backup import from Cloud Storage (.bak) | Database Migration Service for SQL Server | – | – |
| PostgreSQL (another engine) | pgloader · Export to files and bulk load · Azure Data Factory | AWS DMS (full load + change data capture) | Debezium change data capture | AWS DMS Schema Conversion · Database Migration Service conversion workspace |
| MySQL (another engine) | MySQL Workbench migration wizard · Export to files and bulk load · Azure Data Factory | AWS DMS (full load + change data capture) | Debezium change data capture | AWS DMS Schema Conversion |
| Oracle (another engine) | Export to files and bulk load · Azure Data Factory | AWS DMS (full load + change data capture) | Debezium change data capture | AWS DMS Schema Conversion |
| MariaDB (another engine) | MySQL Workbench migration wizard · Export to files and bulk load | AWS DMS (full load + change data capture) | Debezium change data capture | AWS DMS Schema Conversion |
| MongoDB API (another engine) | Export to files and bulk load · Azure Data Factory · Azure Cosmos DB desktop data migration tool · Dataflow | AWS DMS (full load + change data capture) | Debezium change data capture | – |
| Amazon DynamoDB (another engine) | Export to files and bulk load · AWS Glue | AWS DMS (full load + change data capture) | – | – |
| Azure Cosmos DB (another engine) | Azure Data Factory · Export to files and bulk load · Azure Cosmos DB desktop data migration tool | – | – | – |
| Firestore (another engine) | Export to files and bulk load · Dataflow | – | – | – |
From PostgreSQL
| Target | A maintenance window | Minutes | Practically none | Structure and code conversion |
|---|---|---|---|---|
| PostgreSQL – Own server or VM | pg_upgrade on the same server · pg_dump and pg_restore | – | Native logical replication (publication and subscription) | – |
| Amazon RDS for PostgreSQL | pg_dump and pg_restore · Major version upgrade by the service | AWS DMS (full load + change data capture) | Native logical replication (publication and subscription) · Amazon RDS / Aurora blue/green deployment | – |
| Amazon Aurora PostgreSQL | pg_dump and pg_restore · Major version upgrade by the service | AWS DMS (full load + change data capture) | Native logical replication (publication and subscription) · Amazon RDS / Aurora blue/green deployment | – |
| Azure Database for PostgreSQL – Flexible Server | pg_dump and pg_restore · Major version upgrade by the service | Migration service in Azure Database for PostgreSQL | Native logical replication (publication and subscription) | – |
| Cloud SQL for PostgreSQL | pg_dump and pg_restore · Major version upgrade by the service | Database Migration Service (continuous) | Native logical replication (publication and subscription) | – |
| AlloyDB for PostgreSQL | pg_dump and pg_restore · Major version upgrade by the service | Database Migration Service (continuous) | Native logical replication (publication and subscription) | – |
| SQL Server (another engine) | SQL Server Integration Services (SSIS) · Export to files and bulk load · Azure Data Factory | AWS DMS (full load + change data capture) | Debezium change data capture | AWS DMS Schema Conversion |
| MySQL (another engine) | MySQL Workbench migration wizard · Export to files and bulk load · Azure Data Factory | AWS DMS (full load + change data capture) | Debezium change data capture | AWS DMS Schema Conversion |
| Oracle (another engine) | Export to files and bulk load · Azure Data Factory | AWS DMS (full load + change data capture) | Debezium change data capture | AWS DMS Schema Conversion |
| MariaDB (another engine) | MySQL Workbench migration wizard · Export to files and bulk load | AWS DMS (full load + change data capture) | Debezium change data capture | AWS DMS Schema Conversion |
| MongoDB API (another engine) | Export to files and bulk load · Azure Data Factory · Azure Cosmos DB desktop data migration tool · Dataflow | AWS DMS (full load + change data capture) | Debezium change data capture | – |
| Amazon DynamoDB (another engine) | Export to files and bulk load · AWS Glue | AWS DMS (full load + change data capture) | – | – |
| Azure Cosmos DB (another engine) | Azure Data Factory · Export to files and bulk load · Azure Cosmos DB desktop data migration tool | – | – | – |
| Firestore (another engine) | Export to files and bulk load · Dataflow | – | – | – |
From MySQL
| Target | A maintenance window | Minutes | Practically none | Structure and code conversion |
|---|---|---|---|---|
| MySQL – Own server or VM | In-place upgrade · MySQL Shell dump and load, mysqldump or mydumper | – | Binary log replication into the new server | – |
| Amazon RDS for MySQL | MySQL Shell dump and load, mysqldump or mydumper | AWS DMS (full load + change data capture) | Amazon RDS / Aurora blue/green deployment · Binary log replication into the new server | – |
| Amazon Aurora MySQL | MySQL Shell dump and load, mysqldump or mydumper | AWS DMS (full load + change data capture) | Amazon RDS / Aurora blue/green deployment · Binary log replication into the new server | – |
| Azure Database for MySQL – Flexible Server | MySQL Shell dump and load, mysqldump or mydumper | Azure Database Migration Service (online) | Binary log replication into the new server | – |
| Cloud SQL for MySQL | MySQL Shell dump and load, mysqldump or mydumper | Database Migration Service (continuous) | Binary log replication into the new server | – |
| MariaDB – Own server or VM | MySQL Shell dump and load, mysqldump or mydumper | – | – | – |
| Amazon RDS for MariaDB | MySQL Shell dump and load, mysqldump or mydumper | AWS DMS (full load + change data capture) | – | – |
| SQL Server (another engine) | SQL Server Integration Services (SSIS) · Export to files and bulk load · Azure Data Factory | AWS DMS (full load + change data capture) | Debezium change data capture | SQL Server Migration Assistant (SSMA) · AWS DMS Schema Conversion |
| PostgreSQL (another engine) | pgloader · Export to files and bulk load · Azure Data Factory | AWS DMS (full load + change data capture) | Debezium change data capture | AWS DMS Schema Conversion |
| Oracle (another engine) | Export to files and bulk load · Azure Data Factory | AWS DMS (full load + change data capture) | Debezium change data capture | AWS DMS Schema Conversion |
| MongoDB API (another engine) | Export to files and bulk load · Azure Data Factory · Azure Cosmos DB desktop data migration tool · Dataflow | AWS DMS (full load + change data capture) | Debezium change data capture | – |
| Amazon DynamoDB (another engine) | Export to files and bulk load · AWS Glue | AWS DMS (full load + change data capture) | – | – |
| Azure Cosmos DB (another engine) | Azure Data Factory · Export to files and bulk load · Azure Cosmos DB desktop data migration tool | – | – | – |
| Firestore (another engine) | Export to files and bulk load · Dataflow | – | – | – |
From MariaDB
| Target | A maintenance window | Minutes | Practically none | Structure and code conversion |
|---|---|---|---|---|
| MySQL – Own server or VM | mariadb-dump or mydumper, loaded with the mysql client | – | – | – |
| Amazon RDS for MySQL | mariadb-dump or mydumper, loaded with the mysql client | AWS DMS (full load + change data capture) | – | – |
| Amazon Aurora MySQL | mariadb-dump or mydumper, loaded with the mysql client | AWS DMS (full load + change data capture) | – | – |
| Azure Database for MySQL – Flexible Server | mariadb-dump or mydumper, loaded with the mysql client | – | – | – |
| Cloud SQL for MySQL | mariadb-dump or mydumper, loaded with the mysql client | – | – | – |
| MariaDB – Own server or VM | mariadb-dump or mydumper, loaded with the mysql client | – | Binary log replication into the new server | – |
| Amazon RDS for MariaDB | mariadb-dump or mydumper, loaded with the mysql client | AWS DMS (full load + change data capture) | Amazon RDS / Aurora blue/green deployment · Binary log replication into the new server | – |
| SQL Server (another engine) | SQL Server Integration Services (SSIS) · Export to files and bulk load · Azure Data Factory | AWS DMS (full load + change data capture) | Debezium change data capture | AWS DMS Schema Conversion |
| PostgreSQL (another engine) | pgloader · Export to files and bulk load · Azure Data Factory | AWS DMS (full load + change data capture) | Debezium change data capture | AWS DMS Schema Conversion |
| Oracle (another engine) | Export to files and bulk load · Azure Data Factory | AWS DMS (full load + change data capture) | Debezium change data capture | AWS DMS Schema Conversion |
| MongoDB API (another engine) | Export to files and bulk load · Azure Data Factory · Azure Cosmos DB desktop data migration tool · Dataflow | AWS DMS (full load + change data capture) | Debezium change data capture | – |
| Amazon DynamoDB (another engine) | Export to files and bulk load · AWS Glue | AWS DMS (full load + change data capture) | – | – |
| Azure Cosmos DB (another engine) | Azure Data Factory · Export to files and bulk load · Azure Cosmos DB desktop data migration tool | – | – | – |
| Firestore (another engine) | Export to files and bulk load · Dataflow | – | – | – |
From Oracle
| Target | A maintenance window | Minutes | Practically none | Structure and code conversion |
|---|---|---|---|---|
| Oracle – Own server or VM | Oracle Data Pump (expdp / impdp) · RMAN backup and restore | Transportable tablespaces with incremental backups · Zero Downtime Migration (ZDM) or Data Guard switchover | Oracle GoldenGate | – |
| Amazon RDS for Oracle | Oracle Data Pump (expdp / impdp) | Transportable tablespaces with incremental backups · AWS DMS (full load + change data capture) | Oracle GoldenGate | – |
| Oracle Database@AWS (Exadata) | Oracle Data Pump (expdp / impdp) · RMAN backup and restore | Transportable tablespaces with incremental backups · Zero Downtime Migration (ZDM) or Data Guard switchover | Oracle GoldenGate | – |
| Oracle Database@Azure (Exadata) | Oracle Data Pump (expdp / impdp) · RMAN backup and restore | Transportable tablespaces with incremental backups · Zero Downtime Migration (ZDM) or Data Guard switchover | Oracle GoldenGate | – |
| Oracle Database@Google Cloud (Exadata) | Oracle Data Pump (expdp / impdp) · RMAN backup and restore | Transportable tablespaces with incremental backups · Zero Downtime Migration (ZDM) or Data Guard switchover | Oracle GoldenGate | – |
| SQL Server (another engine) | SQL Server Integration Services (SSIS) · Export to files and bulk load · Azure Data Factory | AWS DMS (full load + change data capture) | Oracle GoldenGate · Debezium change data capture | SQL Server Migration Assistant (SSMA) · AWS DMS Schema Conversion |
| PostgreSQL (another engine) | Export to files and bulk load · Azure Data Factory | AWS DMS (full load + change data capture) | Oracle GoldenGate · Debezium change data capture | ora2pg · AWS DMS Schema Conversion · Database Migration Service conversion workspace |
| MySQL (another engine) | Export to files and bulk load · Azure Data Factory | AWS DMS (full load + change data capture) | Oracle GoldenGate · Debezium change data capture | AWS DMS Schema Conversion |
| MariaDB (another engine) | Export to files and bulk load | AWS DMS (full load + change data capture) | Oracle GoldenGate · Debezium change data capture | AWS DMS Schema Conversion |
| MongoDB API (another engine) | Export to files and bulk load · Azure Data Factory · Azure Cosmos DB desktop data migration tool · Dataflow | AWS DMS (full load + change data capture) | Debezium change data capture | – |
| Amazon DynamoDB (another engine) | Export to files and bulk load · AWS Glue | AWS DMS (full load + change data capture) | – | – |
| Azure Cosmos DB (another engine) | Azure Data Factory · Export to files and bulk load · Azure Cosmos DB desktop data migration tool | – | – | – |
| Firestore (another engine) | Export to files and bulk load · Dataflow | – | – | – |
From MongoDB
| Target | A maintenance window | Minutes | Practically none | Structure and code conversion |
|---|---|---|---|---|
| MongoDB API – Own server or VM | mongodump and mongorestore | Rolling upgrade in place | Add a member to the replica set · mongosync (cluster-to-cluster sync) | – |
| MongoDB Atlas | mongodump and mongorestore | – | mongosync (cluster-to-cluster sync) · Atlas Live Migration | – |
| Amazon DocumentDB (with MongoDB compatibility) | mongodump and mongorestore | AWS DMS (full load + change data capture) | – | – |
| Azure DocumentDB (formerly Azure Cosmos DB for MongoDB vCore) | mongodump and mongorestore | Azure Database Migration Service | – | – |
| Firestore with MongoDB compatibility | mongodump and mongorestore | – | – | – |
| SQL Server (another engine) | Export to files and bulk load · Azure Data Factory | AWS DMS (full load + change data capture) | Debezium change data capture | – |
| PostgreSQL (another engine) | Export to files and bulk load · Azure Data Factory | AWS DMS (full load + change data capture) | Debezium change data capture | – |
| MySQL (another engine) | Export to files and bulk load · Azure Data Factory | AWS DMS (full load + change data capture) | Debezium change data capture | – |
| Oracle (another engine) | Export to files and bulk load · Azure Data Factory | AWS DMS (full load + change data capture) | Debezium change data capture | – |
| MariaDB (another engine) | Export to files and bulk load | AWS DMS (full load + change data capture) | Debezium change data capture | – |
| Amazon DynamoDB (another engine) | Export to files and bulk load · AWS Glue | AWS DMS (full load + change data capture) | – | – |
| Azure Cosmos DB (another engine) | Azure Data Factory · Export to files and bulk load · Azure Cosmos DB desktop data migration tool | – | – | – |
| Firestore (another engine) | Export to files and bulk load · Dataflow | – | – | – |
From Amazon DynamoDB
| Target | A maintenance window | Minutes | Practically none | Structure and code conversion |
|---|---|---|---|---|
| Amazon DynamoDB | Export to Amazon S3 and import from S3 | Export plus catch-up from DynamoDB Streams | Global table replica in the new region | – |
| SQL Server (another engine) | Export to files and bulk load · Azure Data Factory | – | – | – |
| PostgreSQL (another engine) | Export to files and bulk load · Azure Data Factory | – | – | – |
| MySQL (another engine) | Export to files and bulk load · Azure Data Factory | – | – | – |
| Oracle (another engine) | Export to files and bulk load · Azure Data Factory | – | – | – |
| MariaDB (another engine) | Export to files and bulk load | – | – | – |
| MongoDB API (another engine) | Export to files and bulk load · Azure Data Factory · Azure Cosmos DB desktop data migration tool · Dataflow | – | – | – |
| Azure Cosmos DB (another engine) | Azure Data Factory · Export to files and bulk load · Azure Cosmos DB desktop data migration tool | – | – | – |
| Firestore (another engine) | Export to files and bulk load · Dataflow | – | – | – |
Detailed guides per tool
The step-by-step guides on this site cover AWS DMS, the SQL Server routes to Azure, the PostgreSQL tools (pg_dump, pg_upgrade, logical replication) and the MySQL and MariaDB tools (mysqldump, MySQL Shell, replication); the guide on migration routes and downtime explains the three kinds of route.
Questions
Which tool is the best one?
The one that reaches the downtime you can accept with the least preparation. For most moves within one engine that is the native backup or dump; online routes are worth their extra work when even a night of downtime is too much.
Why is a tool missing for my combination?
Because it does not support that combination, or only through a detour. A dash means: no route of that kind for this target; the other columns show what does work.
Do these tools also convert my stored procedures?
No. Data movement tools copy data; code conversion is a separate step with the tools in the last column, and the converted code still has to be tested.
How do I know which route fits my database?
Run the free scan, choose your target and the downtime you can accept: it shows the routes that fit and what in your database makes the online ones harder.
Read next
- AWS Database Migration Service step by step: full load and change data capture
AWS DMS step by step: CDC prerequisites per engine, endpoints, table mappings, LOB modes, validation, the cutover and common errors, with CLI examples. - Migrating SQL Server to Azure step by step: backup to URL, Log Replay Service, Managed Instance link, DMS and .bacpac
Move SQL Server to Azure SQL Managed Instance, Azure SQL Database or a VM: backup to URL, Log Replay Service, MI link, DMS, .bacpac and replication. - PostgreSQL migration and upgrade tools step by step: pg_dump, pg_upgrade and logical replication
Which PostgreSQL tool for which move, and how to run it step by step: pg_dump and pg_restore, pg_upgrade, managed upgrades, logical replication, blue/green. - MySQL and MariaDB migration tools step by step: mysqldump, MySQL Shell, mydumper and replication
mysqldump, MySQL Shell dump and load, mydumper and binlog replication step by step: which tool for which MySQL or MariaDB move, with commands and pitfalls.
Run the free scan to see which of these routes fit your own database and what stands in the way – read-only, nothing leaves your browser.
Start the free scan