· 4 min read
How to prove a data migration worked: counts, checksums and diffs
Prove a data migration worked: row counts, aggregates, row hashes and key-based diffs — and how to normalise data so you compare values, not formatting.
9 tools
The unglamorous work between export and import: cleaning, deduplicating, remapping columns, splitting to fit upload limits, fixing encodings — and comparing source with target afterwards.
Imports fail on details: stray whitespace, duplicate keys, wrong encodings, columns in the wrong order, files over the upload limit. Each tool here addresses one of those, and they chain together — clean the export, map its columns to the target's template, split it if needed, load it.
Verification is the step most often skipped. After loading, export the data back out of the new system and compare it with the original by key. A migration you haven't diffed is one you are assuming worked.
· 4 min read
Prove a data migration worked: row counts, aggregates, row hashes and key-based diffs — and how to normalise data so you compare values, not formatting.
· 5 min read
Why CSV imports break — mojibake, BOMs, semicolon delimiters, Excel dropping leading zeros, line breaks inside values — and how to fix each before you upload.
· 6 min read
Migrating from MySQL to PostgreSQL: type mapping, AUTO_INCREMENT and sequences, zero dates, case sensitivity, query rewrites and how to verify the result.