Expedition. Free, on-demand.

Technical tracks for practitioners, outcomes for leaders.

What Is Data Migration? How It Works, What to Modernize and How to Plan

Data migration involves more than transferring records between systems. Learn how organizations move data and workloads, preserve business logic, manage migration risks and use modern architectures and automation to support modernization.

DATA MIGRATION DEFINED

Data migration is the process of transferring data between storage systems, databases, applications or computing environments while preserving its accuracy and usability.

For organizations modernizing their data systems, one of the most consequential migration decisions is determining what actually needs to move. Historically, adopting a new analytics platform often meant transferring large volumes of data, converting existing workloads and rebuilding the connections among them. That approach remains necessary for some systems, but open table formats and interoperable architectures are changing the options available.

Organizations can now transition many workloads while continuing to access data stored elsewhere, allowing them to adopt new analytics and AI capabilities without waiting for every legacy system to be replaced. At the same time, AI-assisted migration tools are helping engineers tackle work that has traditionally required extensive manual effort, including SQL conversion, dependency analysis and source-to-target testing.

With those options come decisions about what to retain, convert or replace — and how to manage the dependencies among those components. An effective migration strategy accounts for how data, applications and processing workloads interact, coordinating changes across source and target environments to maintain business operations throughout the transition.

What is data migration?

Data migration moves an existing body of data from a source environment to a target environment, while maintaining its integrity, accessibility and usability. Organizations migrate data to replace aging systems, consolidate environments and adopt platforms that meet changing requirements for analytics, AI and data-intensive applications.

In modern data environments, migration often extends to the workloads and business logic associated with that data. Moving an analytics environment, for example, may require converting SQL queries, adapting transformation pipelines, updating application connections and validating that the destination produces the expected results. How much work that involves depends on the compatibility of the source and target architectures, along with how much the organization wants to modernize during the transition.

Data migration differs from data integration in both purpose and duration. Migration generally supports a defined transition to a new environment, often ending with the retirement of the original system. Data integration supports ongoing information exchange among systems that continue operating, although integration technologies also help synchronize source and target data during migration.

Types of data migration

Data migration projects are usually grouped by the systems or workloads being moved. The categories overlap, particularly in cloud modernization projects that involve multiple components of an existing architecture.

  • Storage migration transfers data between storage systems or media, such as moving files from on-premises storage to cloud object storage or replacing aging storage infrastructure.
  • Database migration moves data between database environments, sometimes requiring changes to schemas, data types, SQL code and application connections.
  • Application migration transfers an application and its supporting data to a new environment, or replaces an existing application while preserving the information and workflows it supports.
  • Data center migration relocates infrastructure and workloads between facilities or hosting environments, including the associated data, applications and network dependencies.
  • Cloud migration moves data and workloads from on-premises infrastructure to cloud services or between cloud environments.
  • Business process migration moves the data and supporting workflows associated with business activities, such as customer onboarding, financial reporting or accounts receivable, to a new operating environment.
  • Data warehouse migration overlaps several categories, moving analytical data and workloads to a new warehouse environment, including tables, transformation pipelines, SQL queries, stored procedures, scheduled jobs and reporting dependencies.

Defining the migration type helps establish the scope of work, although the actual dependencies are what determine which components must move together.

See how Snowflake AIM helps engineers convert legacy workloads, coordinate dependencies and manage migration tasks:

How does the data migration process work?

A data migration begins with assessing the source environment and its dependencies, followed by preparing the target, transferring data and adapting the workloads that rely on it. Teams then validate the results and coordinate the transition to the new environment. For large environments, these activities often repeat across multiple migration waves, allowing teams to test portions of the workload before moving the remaining systems.

The steps involved in data migration are closely connected, particularly when applications and workloads depend on multiple database objects, pipelines and processing systems. As Snowflake’s Federico Zoufaly puts it, “What looks like a schema move on paper quickly becomes a high-stakes orchestration problem.” A change to one component can affect the order in which others are converted, deployed or tested, making dependency management central to the migration process.

Assessing source systems and workload dependencies

Before moving data, teams need a clear picture of the existing environment and the scope of work. The results of the assessment help teams organize migration waves around related workloads.

An assessment typically examines:

  • Data and database objects: Tables, views, schemas, constraints, stored procedures and other objects that may need to be transferred or converted
  • Workload dependencies: Transformation pipelines, scheduled jobs, reports and application connections, including the relationships that determine deployment order
  • Operational requirements: Query frequency, execution times, concurrency, data volumes and refresh schedules that establish a baseline for the target
  • Modernization opportunities: Redundant assets that can be retired, workloads that require redesign and data that may remain accessible without physical transfer

Increasingly, assessment also involves determining whether physical data movement is even necessary for every workload. Snowflake Field CTO Henrik Nielsen explains that, historically, analyzing data across systems often required bringing it together in a centralized environment because each platform relied on its own proprietary processing engine. That dependence on data movement came with a trade-off, however, particularly as the volume of data and the number of systems grew. “Every time you move data, it adds cost and risk.”

Open table formats such as Apache Iceberg now allow compatible processing engines to work with data stored in a common format, reducing the need to maintain separate copies for every workload. (Though the extent of that interoperability depends on the engines’ support for table features, catalog integration and access controls.)

This changes how organizations define migration scope. An organization might move a legacy database and its dependent applications while retaining certain analytical data in open table formats accessible to multiple engines. Other data could remain in operational systems because of transactional or regulatory requirements, with authorized information made available through supported integrations.

QUICK TIP

When selecting workloads for an initial migration pilot, choose a group with dependencies representative of the broader environment rather than simply selecting the easiest tables to move. A pilot that exercises transformations, application connections and downstream reporting will provide more useful evidence for planning subsequent migration waves.

Transferring data to the target environment

Once teams understand the scope and dependencies, they need to decide how to get the data to the target environment. The choice of transfer method depends on the source and target systems, data volume, available connectivity and acceptable downtime.

For migrations that can accommodate a maintenance window, teams can export data from the source and load it into the destination before restarting operations. Systems that need to remain available typically require incremental approaches, using replication or change data capture (CDC) to capture updates while migration proceeds. For larger migrations, teams often move historical data first, then synchronize new changes as they occur.

When the source continues processing transactions, teams need to coordinate the initial data transfer with the starting position of the change stream. Otherwise, updates occurring during the transfer could be missed or applied twice. The replication process also needs to preserve the transaction ordering and consistency required by dependent workloads.

Whichever method is chosen, the team needs to account for source-system capacity, interruptions and data consistency. Partitioning large transfers into manageable units helps teams track progress and retry failed portions without repeating completed work. Reconciliation checks help identify missing, duplicated or altered records, with the level of assurance depending on whether teams compare record counts, aggregate values or individual rows.

Converting data structures and workloads

Different database engines support different data types, SQL dialects, procedural languages and execution behaviors. When moving between incompatible systems, teams may need to convert database schemas and adapt the workloads that depend on them.

Schema conversion involves translating the source database’s structure into one the target system supports. This typically requires mapping proprietary data types to supported equivalents, adjusting how nested data is represented or accommodating differences in field sizes and numeric precision. These changes need to preserve the meaning and integrity of the underlying data.

Teams also need to check whether existing transformation pipelines will work in the target environment or need changes to their logic, connections and scheduling. This often involves deciding whether to retain an extract, transform, load (ETL) approach, in which data is transformed before loading, or adopt extract, load, transform (ELT), which performs transformations in the destination. The decision depends partly on where processing resources are available and how the organization wants to manage its data.

Retaining existing ETL pipelines may reduce conversion work, particularly when the transformations are reliable and the target supports their output formats. However, pipelines that depend on source-specific processing engines or proprietary connectors may need modification regardless of the approach. Moving transformation work into a cloud data platform through ELT allows teams to use the target’s compute resources and work with data after ingestion, although existing transformation logic may need to be rewritten and its performance and outputs validated.

SQL queries, stored procedures and user-defined functions may also require conversion. Differences in functions, timestamp handling, rounding and null semantics can affect results even when the converted code runs successfully. Teams therefore need to document intentional changes and establish which outputs should remain equivalent during subsequent validation.

Validating data and business behavior

Validation begins during migration and continues through cutover. It can account for almost as much migration work as transferring the data itself. In Caylent’s 2025 survey of IT leaders, respondents estimated spending an average of 27% of migration effort testing the target database and its integrations, compared with 29% moving data. These proportions reflect the work involved to ensure that the destination supports existing applications and business logic, beyond confirming that the records arrived as intended.

Testing generally covers several levels:

  • Structural validation: Compare schemas, data types and database objects to identify missing or incompatible structures.
  • Data validation: Reconcile record counts, aggregate totals, null values and selected row-level values to detect missing, duplicated or altered records.
  • Behavioral validation: Compare the outputs of queries, stored procedures and transformations against agreed source baselines.
  • Application and workflow testing: Verify that connections, permissions, scheduled jobs and downstream reports work together under representative operating conditions.

Teams also need to agree on which outputs should remain equivalent. Engineers can compare calculations, procedure results and downstream reports against established source baselines, while business stakeholders confirm that the results reflect the intended rules. Testing representative workflows under production-like conditions helps expose problems involving application connections, permissions and execution dependencies that database-level comparisons might miss.

Data migration cutover, synchronization and rollback

When the source system continues receiving updates during migration, teams need to keep the target synchronized until it’s ready to take over. Whether using CDC, incremental loads or another replication method, they should account for changes that occur after the initial transfer and establish when the two environments are sufficiently consistent for cutover.

Before redirecting production activity, teams need evidence that the target is ready and the transition won’t introduce inconsistencies. Cutover preparations typically include:

  • Completing synchronization: Apply outstanding source changes, check replication lag and confirm that the target has reached an agreed consistency point.
  • Coordinating application writes: Determine when applications stop writing to the source and begin writing to the destination, using a temporary write pause or other controls where necessary.
  • Updating dependencies: Configure application connections, service accounts, permissions and scheduled workloads to use the destination.
  • Establishing go/no-go criteria: Define acceptable replication lag, unresolved discrepancies, critical workload failures and recovery time limits, with clear responsibility for authorizing cutover.

Rehearsing the cutover gives teams a chance to test these procedures and decision points before production users rely on the target.

When the transition is complete, the new environment should be monitored for failed jobs, unexpected data discrepancies and application errors. Recovery becomes more complicated once the target begins accepting new writes, since returning to the original environment could mean losing those changes. Once the target becomes authoritative, restoring service within the new environment may be safer than attempting to reverse the migration.

Data migration strategies and architectural trade-offs

Choosing a migration strategy means balancing the pace of transition, the extent of architectural change and the effort required to adapt existing applications. Modern data platforms give organizations flexibility in how they approach migration. Rather than applying the same strategy to every system, teams can retain existing application functionality where appropriate, convert selected workloads to use native platform capabilities and continue accessing data across interoperable systems as the migration progresses.

Many organizations are already managing data across several platforms. Redgate’s 2026 State of the Database Landscape report found that 84% of surveyed organizations currently use two or more database platforms. That complexity makes it important to account for how workloads will operate across source and target environments during migration, particularly when some systems are being retired while others continue supporting production applications.

Big-bang vs. phased and parallel migration approaches

A big-bang migration moves a defined set of data and workloads to the target during a planned cutover window. The source remains authoritative until the migration is ready, after which users and applications are redirected together. This approach can simplify coordination when the workload is manageable and the business can accommodate the required downtime.

The trade-off is concentrated cutover risk. Data transfer, final synchronization, validation and workload redirection must all fit within an acceptable period, which may leave little time for remediation before the organization needs to decide whether to proceed or roll back.

A phased migration spreads the work across stages, often organized by business domain, application or dependency group. Teams can validate each stage, resolve compatibility issues and apply lessons learned to subsequent migrations.

That flexibility comes with additional operational complexity, however. Source and target environments may need to coexist for weeks or months, requiring careful management of data synchronization, cross-system dependencies and authoritative sources. If one application writes to the new environment while another continues updating the old one, the organization needs rules to prevent conflicting changes.

Teams often run systems in parallel during a phased migration. Running comparable workloads in both environments provides an opportunity to identify differences before the final transition, although the comparison requires consistent data and a clear definition of acceptable results.

How much should change during migration?

Migration approaches are often described as rehosting, replatforming or refactoring, depending on how much the existing implementation changes.

  • Rehosting generally involves moving a workload with minimal modifications.
  • Replatforming adapts the workload to a new environment without substantially redesigning its functionality.
  • Refactoring involves more extensive changes to application code, processing logic or architecture.

For a data warehouse migration, teams first need to decide how much of the existing workload they can — and should — retain. Even when organizations intend to keep their business logic intact, differences between database engines may require substantial SQL conversion. Beyond those necessary changes, teams must decide whether to recreate established processing patterns or redesign selected workloads to take advantage of the target platform’s capabilities.

Moving from a warehouse with tightly coupled compute and storage to one that manages them separately, for example, creates opportunities to allocate resources differently for transformation jobs and interactive analytics. Teams might also reconsider legacy scheduling practices, workload concurrency and how intermediate data is processed. However, redesigning workloads during migration expands the scope of testing. Organizations may instead choose to get existing workloads running correctly on the new platform before making further improvements, limiting the number of changes introduced during cutover.

Teams then need to consider whether existing applications require conversion. For supported environments, virtualization allows applications to continue using familiar interfaces while a compatibility layer translates their requests for execution on a different database engine. The choice depends on workload compatibility, conversion effort and the organization’s longer-term architectural goals.

There’s also the question of how much underlying data actually needs to move with those workloads. Open table formats and interoperable architectures allow compatible systems to access governed data without maintaining separate copies, creating opportunities to introduce new capabilities while the migration of existing applications and processing workloads continues. This is particularly valuable for organizations pursuing AI initiatives. As Nielsen notes, “Your AI timeline and your migration timeline can move independently.” Teams can begin developing AI applications against accessible, governed data while prioritizing the legacy systems that most urgently need replacement.

Planning for cloud data migration

A move to the cloud brings decisions about connectivity, security, cost and performance. These factors influence both how the migration proceeds and how the new environment operates after cutover.

  • Transfer capacity and reliability: Available network bandwidth, source-system throughput and connectivity affect how quickly data can reach the destination. For large migrations, teams need to account for transfer interruptions and the ability to resume incomplete loads without repeating completed work. Network constraints may also influence whether data is transferred directly, staged in cloud storage or moved through a dedicated connection.
  • Security and compliance: Sensitive data needs appropriate protection during transfer, in temporary staging areas and in the destination. Because cloud platforms may use different identity, role and permission models, teams must translate existing access controls and test whether users and applications have the intended privileges. Encryption, audit logging, retention policies and data residency requirements also need to be addressed.
  • Migration and operating costs: Along with data transfer charges and temporary infrastructure, organizations need to budget for running source and target systems simultaneously during testing and synchronization. Once the migration is complete, differences in compute allocation, storage pricing and workload management will influence ongoing costs.
  • Performance and workload behavior: Differences in query optimization, caching and resource management can affect performance after migration. Testing representative data volumes, query mixes and concurrent workloads helps teams identify tuning and resource requirements before cutover.

Data migration risks and challenges

Even well-planned migrations can reveal problems that were hard to spot in the original environment. Existing data-quality defects, changes occurring during transfer and differences in execution behavior complicate the process of establishing a reliable target.

Data quality and consistency during migration

During migration, teams often uncover duplicate records, missing values, inconsistent formats and business rules applied differently across systems. Teams need to distinguish existing source-data defects from errors introduced during transfer or transformation, then decide which issues to correct, retain or quarantine. Without agreed expectations, intentional data cleaning can appear as a migration failure, while existing defects may pass validation unnoticed.

For systems that remain active during migration, validation must also account for changes made after the initial snapshot, using an agreed CDC position or another consistent reconciliation point.

Quote Icon

Without agreed expectations, intentional data cleaning can appear as a migration failure, while existing defects may pass validation unnoticed.

Performance and operational differences after migration

A migrated workload can return the same query results as the source system during validation, but run more slowly or consume more compute in production. Differences in query optimization and resource allocation can also affect concurrent workloads, delaying data refreshes and downstream applications. Testing under representative production conditions helps teams identify bottlenecks and determine whether compute capacity, scheduling or processing logic needs adjustment before the source is retired.

COMMON PITFALL

A common mistake is migrating workloads without updating the monitoring systems that support them. Existing alerts, logs and operational dashboards may still reference the source environment, leaving failures in the new system undetected. Include monitoring configuration and alert routing in operational readiness testing before cutover.

How to choose data migration tools

Migration tools handle different parts of the process. Some focus on extracting and replicating records, while others assess database objects, convert code, coordinate deployment or validate source-to-target results. The capabilities required depend on the migration’s scope.

When evaluating data migration tools, consider the following criteria:

  • Source and target compatibility: Does the tool support the specific database engines, versions, data types and object types involved? For migrations between different platforms, assess how it handles unsupported structures and source-specific SQL.
  • Data transfer and synchronization: Can it handle the required data volumes and keep the destination current while the source remains active? Look for reliable progress tracking, restartable transfers and support for the replication methods the migration requires.
  • Workload conversion: Does it help translate existing SQL, stored procedures and transformation logic? Evaluate how much conversion can be automated, how exceptions are identified and whether engineers can review and reuse corrections.
  • Validation and testing: Can teams compare source and target schemas, data values and workload outputs? The tool should make discrepancies visible and provide enough detail to investigate whether differences arise from transfer errors or changes in processing behavior.
  • Security and governance: What privileges does the tool require, and where does it process or temporarily store data? Assess how it handles credentials, encryption, audit records and existing access policies.
  • Operational fit: Can teams track migration progress, manage dependencies and resume work after failures? Consider how the tool integrates with existing data engineering workflows and whether it supports the migration’s planned sequence of deployments and cutovers.

Complex migrations often call for several complementary tools, so teams should consider how they work together from assessment through cutover.

Data migration best practices

Choosing a strategy is only part of the planning. Teams also need practices that establish accountability, document decisions and maintain continuity across migration waves.

Establish a baseline before changing workloads

Record representative source query results, transformation outputs, performance metrics and operational schedules before conversion begins. For business-critical analytics, involve the people responsible for interpreting those outputs so validation reflects agreed-upon reporting rules as well as technical equivalence.

Maintain a record of migration decisions and exceptions

Document schema mappings, unsupported functions, approved data corrections and changes to processing logic as migration progresses. A shared record helps engineers distinguish intentional modifications from unexpected behavior, apply established fixes to other affected objects and understand decisions made during earlier migration waves.

Define ownership and acceptance criteria for each migration wave

Assign technical and business owners to each migration wave, with a defined scope and measurable acceptance criteria. Technical acceptance should cover data completeness, workload execution and performance, while business acceptance confirms that critical reports and workflows produce the intended results. Both are necessary before declaring a workload ready for production.

Monitor the target during stabilization

After cutover, monitor for performance regressions, failed jobs, delayed updates and downstream reporting discrepancies that might emerge under production conditions. Maintain a defined stabilization period with engineering resources and recovery procedures available, retiring the source only after the target meets agreed-upon technical and business acceptance criteria.

How Snowflake AIM supports data migration and modernization

Snowflake AIM (AI-driven Migration), Snowflake’s migration and modernization platform, brings together the capabilities of SnowConvert AI, the Snowpark Migration Accelerator and Datometry into a single, enhanced AI-powered solution. Depending on the source environment, organizations can pursue Snowflake-native modernization or use supported virtualization capabilities to reduce immediate application conversion requirements.

Converting legacy workloads with Snowflake AIM

A data warehouse migration can involve converting large volumes of SQL and database code, much of it dependent on source-specific syntax or processing behavior. AIM applies deterministic, grammar-based translation rules to supported constructs, providing a consistent starting point for moving existing logic to Snowflake.

Some constructs have no direct equivalent, however. Stored procedures containing proprietary functions or procedural logic may require changes beyond straightforward syntax conversion. AIM uses AI-assisted remediation to help engineers investigate these exceptions and adapt the code. Corrections can also be captured as reusable rules, allowing teams to apply established solutions across other affected objects rather than resolving the same incompatibility repeatedly.

For Spark workloads, Snowflake AIM provides another conversion path, helping teams adapt supported Spark code to run using Snowpark. The conversion work varies by source technology, but the objective is consistent: reduce repetitive engineering effort while giving teams visibility into changes that require additional review.

Coordinating migration dependencies and deployment

Tables, views, procedures and pipelines have dependencies that influence deployment order, while unresolved conversion issues can delay other workloads. The Snowflake AIM Agent for Data Warehouses, available through Snowflake CoCo, helps engineers manage these relationships across the migration process. It uses dependency information to organize work and coordinate deployment, reducing the need to manually track which objects must be available before others can run.

AIM also maintains migration project state across sessions, including completed activities and outstanding work. For migrations involving thousands of objects, this continuity helps teams resume work, investigate exceptions and coordinate progress over multiple migration waves. The standalone Snowflake AIM application provides a guided interface for these activities, with visibility into project status and steps requiring engineering review.

Validating migrated data and business logic

Once teams have transferred the data and converted the code, they still need to check that the destination contains the expected information and produces the intended results. AIM supports source-to-target data comparisons, including schema checks, aggregate validation and optional row-level comparisons, to identify discrepancies introduced during migration.

For supported stored procedures and user-defined functions, AIM can also compare outputs from the source system with those produced in Snowflake. These two-sided tests help identify differences in business logic that may remain after code conversion, providing a basis for further remediation and retesting. The value of combining these activities is especially apparent in migrations with large numbers of interconnected analytical assets.

Building a reliable foundation through data migration

Modern data architectures offer more flexibility in how organizations migrate existing systems. They can reduce unnecessary data movement and introduce new capabilities before the migration is complete. Taking advantage of that flexibility requires understanding how data, applications and processing workloads depend on one another, particularly when source and target environments must operate together during the transition.

A successful migration preserves those relationships as workloads move and confirms that the new environment meets business and operational requirements. That gives organizations a sound basis for retiring legacy systems or continuing to modernize selected components.

KEY TAKEAWAY

A migration strategy doesn’t need to apply uniformly across an organization. Different workloads can follow different paths depending on their dependencies, compatibility requirements and business priorities. An effective strategy coordinates these approaches to minimize disruption while allowing organizations to modernize at a pace that meets their needs.

Data migration resources

Frequently Asked Questions

Your common questions about data migration, answered by Snowflake experts.

Migration timelines depend on data volume, workload complexity, source and target compatibility, transfer capacity and testing requirements. A relatively simple storage migration may take hours or days, while a complex enterprise data warehouse migration can extend across months. Representative pilots help teams estimate engineering effort and establish realistic schedules.

Data migration costs typically include engineering, software tools, infrastructure, data transfer, testing and temporary operation of source and target systems. Complex database migrations may also require significant code conversion and remediation work. Estimates should include the target environment’s ongoing operating costs.

Data migration transfers existing information to a new environment as part of a defined transition. Data integration connects information across systems for ongoing use. During migration, integration technologies such as CDC and replication pipelines often help keep source and target environments synchronized until cutover.

Big-bang migration transfers a defined workload during a coordinated cutover window. Phased migration moves workloads in stages, allowing teams to test each portion before proceeding. Phased approaches generally require longer periods of coexistence and coordination between source and target environments.

Explore Data Engineering Resources

Explore Data Engineering Topics

Deep dives into every aspect of data engineering