Skip to main content

Migration library

Plan a move to Snowflake, Databricks, or Amazon Redshift with source-specific guides to data mapping, validation, and cutover. Start with your destination, then work through the decisions that affect your source data and business reports.

Your migration pipeline moves the data; DataDios compares eligible source and target connections. Each destination guide explains the available workflow and its boundaries. Keep load completeness, approved transformations, and business acceptance in one evidence trail.

Investigate a real migration problem​

Start with the investigation and performance method: read SmartDiff clusters and highlighted examples, inspect frequency summaries, write a defensible disposition, and connect correctness to workload acceptance. Each source article below develops a distinct business incident, its likely failure patterns, and a source-to-target performance investigation.

The migration evidence chain​

Migration workflow: agree on a contract, move a bounded scope, compare and explain differences, then authorize cutover

The output is an acceptance record, not just a percentage. Keep the scope, source cutoff, target load identifier, mapping version, completed partitions, unresolved exceptions, and sign-off owner together. These are recommended project records; the diagram does not imply DataDios automatically creates every artifact or approves a cutover.

Choose the right kind of validation​

QuestionEvidence to collectWhere to start
Did the selected records arrive unchanged?Unique keys, missing/unexpected keys, changed values, completed scopeDataDios Data Source Diff for eligible table pairs
Are approved transformations correct?Paired queries at the same grain, documented normalization, business aggregatesQuery Diff for eligible connections, plus native checks
Are precision-sensitive totals exact?Database-native decimal reconciliation with explicit scale and roundingSeparate exact checks; a floating-point comparison is insufficient
Is the platform ready to replace the old one?Report outputs, role-based access, workload measurements, recovery rehearsalBusiness, security, and operational acceptance tests

The shipped SmartDiff registry enables PostgreSQL, SQL Server, MySQL, Snowflake, and Databricks connections. That eligibility is not certification of every pair, data type, or scale. Run a representative pilot with your versions, keys and data before expanding. Redshift is available as a connector but is not currently enabled in the SmartDiff connection picker; its articles use database-native reconciliation and make no direct SmartDiff execution claim.

Use one acceptance contract across every wave​

  1. Identity and grain. Specify what one record represents, the mapped columns, and a unique, non-null key on each side. A warehouse key declaration does not prove the loaded rows are unique.
  2. A common cutoff. Agree on a source snapshot or reconciled extraction watermark and corresponding completed target load. Two queries started at similar times do not form a shared snapshot. Include updates and deletes, not only inserted records.
  3. Meaning. Decide timezone, precision, null encoding, text case, and approved transformations before normalizing values. Retain raw evidence for disputed mappings.
  4. Coverage. Start with a bounded, representative partition. Then validate the full agreed scope and record every completed partition. A sample cannot establish complete coverage.
  5. Decision. Repair failures through the migration process, rerun affected checks, and assign an owner to each accepted exception. Keep rollback readiness separate from data equality.

For eligible pairs, follow the Data Source Diff guide. Its metadata filter is not a row cutoff: use prepared snapshot/staging tables or paired Query Diff predicates for bounded rows. Data Source Diff may read a whole table when key-range batching cannot be planned, and a batch-size target is not a hard memory ceiling. See the existing detailed validation playbook for precision and batching limits before scaling.

Make the business case measurable​

For an enterprise, organize waves by data domain and give engineering, finance, security, and operations distinct acceptance responsibilities. For a smaller team, start with the few tables and reports whose failure would disrupt billing or customer service; one owner can maintain the scope and exception log without building a large governance program.

Measure engineering hours per accepted table or partition, time from a mismatch to its disposition, percentage of the agreed scope validated, and the number of defects discovered before cutover. An illustrative calculation is 20 tables × 1 hour less manual reconciliation per table = 20 hours returned per wave, before subtracting configuration and compute costs. It is a planning example, not a DataDios benchmark. Establish your baseline during the pilot and compare equivalent scope.

Start with a practical artifact​

For another source, use the destination article to define the mapping and acceptance questions, then verify connector eligibility before choosing the execution workflow. “Any source” is a planning ambition, not a blanket product support guarantee.