Check counts, relationships, samples, and business invariants before treating a migration as complete.
- data migration
- data validation
- database migration
- data integrity
Define what must remain true
Specify expected counts, uniqueness, referential integrity, and totals before moving data. Include edge cases such as null values, duplicate identifiers, and unusual encodings.
Cloud, Data & Security
Thoughtful decisions compound over time.
Practical product work brings technical choices back to the people and workflows they are meant to serve.
Run repeatable comparisons
Use reproducible checks and store results without exposing unnecessary sensitive values. For large migrations, validate batches and keep a record of rejected or transformed records.
Plan reconciliation and rollback
Decide how to handle mismatches and whether source data remains available during the transition. A migration rehearsal can expose data quality issues before the production cutover.
Practical application
Before a cutover, compare source and destination row counts, key uniqueness, relationships, and business totals. Sample transformed records, report rejected rows, and agree on a reconciliation owner and rollback trigger before production migration.