Every few years the IT industry rediscovers something that experienced practitioners already know: moving data is difficult.
You would think that by now organizations would approach data migration projects with the respect they deserve. After all, the industry has been migrating data since the earliest days of computing… from hierarchical databases to relational systems, from on-premises platforms to distributed environments, and now from legacy infrastructure to the cloud.
Yet despite decades of experience and better tools than ever before, data migration projects continue to be underestimated, under-planned, and occasionally disastrous. Why does this keep happening?
Let’s take a closer look.
The Illusion That “It’s Just Data”
One of the most common misconceptions about migration projects is the belief that data is simply something that can be exported from one system and imported into another. In reality, data carries meaning, and that meaning is embedded in numerous places, such as:
- Database schemas
- Application logic
- Stored procedures and triggers
- Data type conventions
- Business rules embedded in code
When moving data between platforms—or even between different versions of the same platform—those meanings must be preserved. If they are not, the result is subtle corruption: values that technically migrate but no longer represent the same thing.
For example, many differences can silently introduce errors that may not surface until long after the migration is complete. For example, differences in date formats, numeric precision, character encoding, NULL handling, and Boolean representations can all introduce problems.
Schema Compatibility Is Rarely Perfect
Another reason migrations are difficult is that database schemas almost never align perfectly across platforms. Even when moving between relational database systems, differences emerge, for example, in:
- Data type definitions
- Index structures
- Constraint enforcement
- Partitioning capabilities
- Default values and identity mechanisms
A table definition that works flawlessly in one database may require careful redesign in another. And schema issues are just the beginning, views, stored procedures, triggers, and application SQL often need to be rewritten or optimized for the new environment.
For example, consider a migration from IBM Db2 for z/OS to PostgreSQL. At first glance, both are relational database systems that support SQL, so it may seem reasonable to assume that schemas and queries will translate easily. But subtle differences can cause unexpected problems. For example, PostgreSQL and IBM Db2 both support numeric data types, but they handle them differently in terms of precision, storage, and performance. PostgreSQL supports arbitrary precision (up to ~131072 digits before the decimal point and up to 16383 after) for NUMERIC (or DECIMAL) columns. Db2’s DECIMAL(p,s) data type supports fixed precision up to 31 digits total (p ≤ 31).
So suppose a Db2 table uses a DECIMAL(9,2) column to store financial values and an application relies on Db2’s precise rounding behavior during calculations. When that data and logic are moved to PostgreSQL, differences in numeric handling, function behavior, or rewritten procedural code can produce slightly different results in calculated values. In financial systems, even a one-cent discrepancy can trigger reconciliation failures or reporting inconsistencies.
NULL handling can create similar issues. Consider a migration from IBM Db2 for z/OS to PostgreSQL where application queries rely on expressions that mix NULL “values” with string concatenation or comparison logic. In Db2, certain operations—such as concatenating strings—can behave differently depending on how NULLs are handled in the expression or within built-in functions used by the application. During a migration, equivalent SQL written for PostgreSQL may treat NULL “values” strictly according to standard SQL semantics, causing expressions that previously returned a usable value to instead return NULL. For example, a reporting query that builds a customer display name from several columns (first name, middle initial, and last name) might unexpectedly return NULL for the entire field if any component is NULL. Unless developers explicitly rewrite the expression using functions such as COALESCE to substitute default values, reports and downstream applications may suddenly begin displaying missing information even though the underlying data appears to have migrated correctly.
Similarly, Db2 identity columns, sequences, and date/time functions may behave differently in PostgreSQL, requiring application SQL and procedural logic to be rewritten to ensure the same business rules are enforced.
In other words, migrating data, even between relational database systems, becomes a partial redesign project, even if that was never the original intention.
Downtime Is the Real Enemy
Many migration plans focus heavily on data conversion but underestimate the operational challenge of keeping systems available during the transition. In modern enterprises, databases support many types of business requirements, such as financial transactions, customer interactions, supply chain operations, logistics, regulatory reporting, and more. Taking a system offline for hours, or even minutes, can be unacceptable.
To minimize downtime, organizations often implement sophisticated migration strategies, each of which introduces its own complexities. Parallel environments, for example, require maintaining two fully functional systems simultaneously while ensuring that both remain synchronized until the final cutover. Phased cutovers attempt to migrate applications or workloads in stages, but this can require temporary coexistence between old and new systems, along with complicated routing logic to determine where transactions should be processed. Replication-based migrations use data replication technologies to keep the source and target databases aligned during the migration process, but replication itself must be carefully configured and monitored to ensure that no changes are lost or applied out of order. Similarly, change data capture (CDC) approaches track and propagate ongoing updates from the source system to the target, but they introduce additional processing layers and require careful validation to guarantee that every transaction is captured and applied correctly.
Each of these approaches can reduce downtime significantly, but they also increase the operational complexity of the migration. As a result, teams must balance the desire for near-zero downtime with the additional infrastructure, monitoring, and testing required to ensure that the migration proceeds safely.
The Data Volume Problem
Data volumes have grown dramatically over the past two decades. According to research from Statista, the world generated roughly two zettabytes of data annually in 2010; today that figure exceeds 140 zettabytes per year and continues to climb rapidly. In other words, the global data footprint has grown more than seventy-fold in little more than a decade and a half.
What once might have been a few hundred gigabytes can now easily be tens or hundreds of terabytes. At that scale, migration becomes constrained by the physics of:
- network bandwidth
- disk throughput
- processing capacity
- logging overhead
Simply copying the data can take longer than the entire planned migration window. This forces organizations to consider incremental approaches, staged transfers, or real-time replication strategies.
Testing Is Often Inadequate
Another common problem is insufficient testing. Most migration projects validate that:
- tables load successfully
- row counts match
- applications can connect to the new system
But deeper validation is often neglected.
Beyond simple verification checks, teams must confirm that the data behaves the same way in the new environment as it did in the old one. Queries should be tested to ensure they return the same results they did before the migration; even small differences in data type handling, rounding, or NULL processing can change query outcomes (as per the example discussed earlier). Performance must also be evaluated, because a query that ran efficiently on the original platform may execute very differently on the target system due to changes in indexing, optimizer behavior, or storage structures. Edge cases—such as unusual values, rarely executed transactions, or boundary conditions—must be exercised to ensure the system handles them correctly, since these situations often expose subtle conversion or logic errors. Finally, indexes and access paths should be examined carefully to confirm that the database engine is choosing efficient execution strategies. Without proper indexing and tuning, applications that worked perfectly before the migration may suddenly suffer from unacceptable response times. Without thorough testing, problems can emerge weeks or months after the migration, sometimes long after the project team has disbanded.
The Human Factor
Finally, data migrations are difficult because they involve people as much as technology. Successful projects require coordination among:
- database administrators
- application developers
- infrastructure teams
- business stakeholders
- operations personnel
If communication breaks down or responsibilities are unclear, small technical issues can quickly escalate into major delays. Experience matters here. Teams that have performed migrations before tend to anticipate the pitfalls and build safeguards into their plans.
Respect the Complexity
Despite the challenges, successful migrations occur every day. But they succeed not because migration is simple…they succeed because experienced teams recognize that data migration is a discipline in its own right, requiring careful planning, robust tooling, and extensive validation.
Organizations that treat migration as a trivial data copy are setting themselves up for surprises. Those that respect its complexity and plan accordingly can greatly improve their chances of success.
The Bottom Line
After decades in the database world, one lesson remains clear:
Moving applications is relatively easy.
Moving data is the hard part.
