Blog
Data migration tools: which kind fits the data you are moving
Data migration tools come in six kinds, from a database's own dump and replication to cloud services, CDC, ETL and app importers. What each leaves to you.
Data migration tools copy records out of one system and load them into another, and the better ones help you check that everything arrived. Most lists of them rank products against each other. That skips the question that decides the choice: what kind of job you have. Moving a database to the same engine on a new server, moving it to a different engine, and loading customers into a new CRM are three different jobs, and the tool that is best at one can be the wrong tool for the next.
This guide sorts the tools by the job they do, names a few products as examples of each kind, and sets out what each kind leaves for you to do by hand, using the vendors’ own documentation. It ends with a way to try a tool on a copy of your data before you rely on it. Products are named here as examples only. We hold no partnership with any of them, and none of this is a recommendation of one vendor over another.
The dry-cleaning chain in the worked example further down is invented, along with its systems and its problems.
Data migration software: six kinds of tool
Most products fall into one of six groups. Plenty of real migrations use two or three of them at once.
| Kind | What it moves | Examples | Where it stops |
|---|---|---|---|
| The database's own tools | A whole database, or chosen tables, between servers running the same engine | pg_dump and pg_restore, PostgreSQL logical replication | Cannot change engine; replication carries rows, not every kind of object |
| Managed cloud migration services | Tables from a source database into a target, usually a cloud database, with a full copy and then the changes made since | AWS Database Migration Service, Azure Database Migration Service | Each runs in its own provider's cloud, and Azure's lands only in Azure SQL targets; with AWS's, indexes, foreign keys and users are a separate step |
| Change data capture (CDC) platforms | A stream of every insert, update and delete, read from the source database's change log | Debezium | Produces a stream of changes; a sink connector or your own consumer has to write them into the target |
| ETL and data integration platforms | Data from many sources, reshaped by rules you write, into a target | The many commercial and open ETL products | Every rule is yours to design; built for repeated loads more than for one move |
| Application import tools | Records into one product (a CRM, an ERP), through that product's own rules | Microsoft's Configuration Migration tool for Dynamics 365 (configuration records, not accounts or contacts), the import tools many CRMs include | Only that product, and often only some of its record types |
| Scripts you write | Anything the other kinds cannot express | SQL, Python or the target's API | Restarts, logging and checks are all yours to build |
The second and third rows are where “database migration software” usually points. The fifth row is the one people forget, and it matters most when the target is an application rather than a bare database, because the application holds rules that a straight table load would bypass.
Schema migration tools solve a different problem
Search for database migration tools and you will often find Flyway and Liquibase as well. They share the word but do another job. Liquibase calls itself “a database schema change management solution”: it keeps a changelog of structural changes and applies them in order. In Flyway, “migrations” are scripts, written in SQL or Java and kept in version control, that its Migrate command applies to a database.
Neither tool copies your customer records from an old system into a new one. They earn a place in a data migration all the same, because the target’s tables, indexes and constraints have to be created somewhere, and keeping those changes as versioned scripts means the rehearsal database and the production database get exactly the same structure.
What is the best database migration tool?
No single product is best. Once the approach is settled (one move or several, and how long a pause the business will accept), the kind of tool follows from the source and the target.

- Same engine on both sides? Then the engine’s own tools come first. For PostgreSQL to PostgreSQL that means a dump and restore when a pause in writing is acceptable, or logical replication when it is not. AWS’s guidance points the same way for schemas: the engine’s usual client tools when the engines match (it names Oracle SQL Developer, MySQL Workbench and pgAdmin 4), its Schema Conversion feature when they differ.
- Different engines? You need two things: a conversion of the schema and code objects, and something to carry the rows. AWS DMS Schema Conversion converts the schema and most code objects (its list includes tables, views, stored procedures, functions and data types) and marks what it cannot convert so you can do it by hand. A managed service or a CDC pipeline then carries the data.
- How short must the switch be? A full copy followed by ongoing change capture lets the old system keep running until the target has caught up. AWS describes the end of that process plainly: once the backlog is worked through, you stop the applications, let the last changes apply, and start them again pointed at the new database.
- Is the target an application? Load through its import tool or its API, so its duplicate checks, required fields and links between records still apply. Writing straight into its tables gets round the rules it depends on.
Where several sources have to be cleaned and combined into one target, an ETL platform or your own scripts usually do the reshaping, and one of the tools above does the loading.
What the tools leave to you
Every kind of tool has gaps, and the vendors document most of them. The trouble is that the documentation is long and few people read it before the first run. These are the gaps that turn up most often.
Structure beyond the tables. AWS DMS creates only what it needs to move the data, which it lists as “tables, primary keys, and in some cases unique indexes”. Its best-practice guide says it “doesn’t automatically create secondary indexes, foreign keys, user accounts, and so on” in the target. Its ongoing replication does not carry indexes, users, privileges or stored procedures either. PostgreSQL’s logical replication does not copy the schema or DDL at all; its documentation suggests copying the starting schema with pg_dump --schema-only and keeping later changes in step by hand.
Sequences and identity values. PostgreSQL replicates the values in serial and identity columns, but not the ongoing changes to the sequences behind them: on the copy, a sequence keeps the last value it synchronized. Before switching over to the copy, the sequences need to be brought up to date. Miss that and the first new order on the target can collide with an order number that already exists.
Large values. AWS DMS runs in limited LOB mode by default, with a size limit that defaults to 32 KB; larger values “must be manually migrated”. On PostgreSQL it treats JSON columns like LOBs, so a JSON document over the limit is cut short. Truncation and rows rejected for foreign-key violations are written only to the task log. PostgreSQL’s logical replication does not carry large objects at all.
Timing. AWS states that its change capture “does not provide real-time replication” and carries no service level for latency; during heavy batch work the lag can grow to several minutes or longer. Plan the cutover around the lag you measure at your busiest hour.
The meaning of the data. No tool knows that “status 4” in the old system means “canceled” in the new one, or which of two duplicate customers to keep. Field mapping, business rules and the checks that prove the data arrived are project work, whatever the tool. Our data migration plan covers the mapping and the proof in detail.
Try the tool on a copy first
AWS recommends a small test migration first, and then possibly a full-scale one to measure throughput across your own network. That advice holds for any tool. A trial on a recent copy of production answers questions that no feature list can.
- Your worst rows. Load the largest text, JSON and binary values you have, every date and number type in use, and names with accents or non-Latin characters. Then compare them field by field with the source.
- A stop in the middle. Stop the load part way through and restart it. Does it carry on, start again, or leave duplicates behind?
- Counts and totals. Compare row counts per table, and a sum or checksum of the columns that matter. AWS DMS has a data validation option that compares source and target once each table’s full load is done, on the engines its documentation lists.
- Lag at the busiest hour. If you will rely on change capture, run it while the source is under its normal peak load and write down the lag.
- The logs. Read them end to end, including warnings. That is where truncated values and rejected rows show up.
- The cost of the run. Note what the trial consumed in servers, storage and staff time, so the full run can be priced from something real.
For application import tools, Microsoft gives the same advice for its Configuration Migration tool: import into a pre-production environment that mirrors production, and back up production before the real import.
Worked example: a dry-cleaning chain moves two systems
This chain is invented for the guide. A regional chain of dry cleaners runs its orders on a SQL Server database behind an in-house till system, and keeps customers and loyalty points in an old desktop CRM. It is moving orders to PostgreSQL behind a rebuilt web and till app, and customers into a new hosted CRM. The two moves need different tools.
Orders. The engines differ, so the schema goes through a conversion step first, and the converted scripts are kept in a versioned schema tool so every rehearsal builds the same tables. A managed migration service then makes the full copy and keeps it current with change capture until cutover. The first trial on a copy turned up two problems. The garment-notes column, stored as JSON, came across shorter than the source for a handful of orders; the task log showed the values had been cut at the default LOB limit, so the limit was raised to the size of the largest note. Reports on the new database were also slow, because no secondary indexes had been created. The team added them to the schema scripts and built them before the change-capture phase, as the AWS guidance suggests.
Customers. These go in through the new CRM’s own import tool rather than a table load. Its duplicate check matches on phone number and email, which merges the customers who had been entered twice at different branches. Loyalty points need a rule the import tool cannot express (points older than two years lapse), so a short script works out each balance first, and the import loads the result.
Cutover. Orders switch on a Sunday evening, after change capture has caught up and the last changes have been applied. Customers load the same night. The old till system stays in read-only mode for a month in case a record needs checking against the source.
How do data migrations work?
In outline: data is read from the source, reshaped to fit the target, loaded, checked against the source, and the users are switched across. The tools above cover the reading and the loading, and help with the checking. The order of the work, the mapping, rehearsals and the way back if the switch fails belong to the plan, which our data migration plan guide sets out step by step. If the data has to keep flowing between the two systems after the switch, the job is an integration rather than a migration; data migration vs data integration explains how to tell which one you have.
What these tools cost
The pricing models differ by kind. PostgreSQL’s dump and replication tools come with the database. AWS’s best-practice guide (read 3 December 2026) says that with its migration service “you only pay for your replication instances and any additional log storage”, and that inbound data transfer is free; it points to its pricing page and calculator for figures. Commercial ETL and migration products price in many ways, so ask each vendor how a single move is charged, as opposed to a yearly license. Whichever tool you pick, the larger cost is usually the time spent on mapping, rehearsals and checks.
Choosing, before you buy
Decide what you are moving and where it is going before you compare products. One line describing the job does most of the sorting: which engine the data leaves, which engine or application it lands in, whether writing can pause, and how large the largest values are. Most of the six kinds drop out against that line, and a trial on a copy settles the choice among the rest.
Data migration is part of our enterprise software development work, and like every enterprise build it starts from a written dependency map of the old system: its callers, the systems it calls and the reports built on its tables. If you are weighing tools for a migration, we reply within one business day to messages sent through the contact page.
The full service behind this post: Enterprise Software Development Company & Services.
Ready to scope your project?
Send us two sentences about what you need. We reply within one business day with the next step and any questions we need answered first.