"The data has moved" and "we can switch" are separated by a list of things that have to be true, and by evidence that they are. Teams that write that list down before the migration starts have short, calm cut-overs. Teams that write it the night before do not. Here is a checklist in six gates, with the evidence each one needs and where InsightAutoHub produces it.
Gate 1: every type change is agreed and the target DDL reviewed. Gate 2: counts match for every table. Gate 3: rows match, by key, for every table or slice. Gate 4: the pipelines that write and read the tables run on the target. Gate 5: key queries meet their targets. Gate 6: rollback is planned, rehearsed and owned. Collect evidence at each gate before moving on.
Gate 1: schema
| Check | Evidence | Where |
|---|---|---|
| Every distinct type conversion reviewed | Datatype mapping report with decisions marked | Datatype Mapping |
| Conversion rules recorded once | The agreed type rules as a column mapping profile | Column Mapping Profiles |
| Target DDL reviewed by a DBA | Target DDL with reviewer and date | DDL Migration results, plus your DDL review record |
| Columns on one side only explained | List of one-side-only columns, annotated | Mapping report option, or a catalogue query |
Gates 2 and 3: counts and rows
Counts first, because they are cheap and catch whole missing partitions. Then rows: a row-level comparison for every table, ordered by its key on both sides, with any columns that differ by design excluded and listed. Large tables are compared in slices (a month, a region) with the same condition on both sides. The evidence is one validation export per table or slice: source records, target records, matching records and match rate, and an explanation for anything below 100%.
Gate 4: pipelines
The tables are only half the system. The jobs that load them and the reports that read them must be re-pointed and shown to run on the target: for each, one successful run on the target with its output checked against the same run on the source. InsightAutoHub's DAG Validation screen is organised around exactly this for Airflow: choose the source and target environments, choose the DAGs, then validate and review.

Keep each DAG's validation result with the pipeline run and its output check in the migration runbook, so the sign-off pack shows both.
Gate 5: performance
Identical data can still be slow data. List the ten queries that matter most (the finance close, the daily dashboard, the regulator's extract), run them on both systems with realistic concurrency, and record the timings against agreed targets.
Gate 6: rollback
- Write down the point after which you will not roll back, and who decides.
- Keep the source writable, or able to be made writable, until that point.
- Rehearse the rollback once, on a test environment, and time it.
- Name the person who runs it on the night.
Who owns each gate
| Gate | Does the work | Signs it off |
|---|---|---|
| 1 · Schema | DBA, migration engineer | DBA lead and the data owner |
| 2 and 3 · Counts and rows | Migration engineer | The business owner of each table group |
| 4 · Pipelines | Data engineering, report owners | Each pipeline's or report's owner |
| 5 · Performance | DBA, platform team | The owners of the key queries |
| 6 · Rollback | Platform team | The person who decides go or no-go |
The split matters most at gates 2 and 3. The engineer runs the comparison; the person who signs is the one who would notice if the numbers were wrong, which is rarely the engineer.
Running the gates in practice
Run gates 1 to 3 per wave, not once at the end: each wave of tables is signed off before the next one starts, so problems are found while they are small. Gates 4 to 6 run once, in the weeks before cut-over, and again as a short rehearsal the day before. Put the gate status for every table on one page that everyone can see; the conversation on cut-over night is then about the handful of items that are not yet green, not about whether anyone checked.
Cut-over night, in order
- Freeze writes on the source and record the time.
- Run the final delta for every incremental table; full-reload any table that has no reliable watermark.
- Run counts for every table, then the row comparisons and aggregate checks for the tables agreed as critical.
- Re-point the pipelines and reports; run the agreed smoke tests.
- Go or no-go, by the named person, against the criteria written in advance.
- If go: open the target for writes and keep the source read-only until the point of no return. If no-go: run the rehearsed rollback.
Go or no-go: decide the rules before the night
- Which tables must be at 100% before switching, and which may switch with a documented, expected difference.
- How long the team will spend investigating a failure before rolling back rather than fixing forward.
- Who can call it, and who must be told either way.
The sign-off pack
One folder per migration: the mapping report and agreed type rules, reviewed DDL, validation exports per table or slice, pipeline run records, query timings, and the rollback plan with its rehearsal result. When an auditor asks a year later how you know the new system holds the same data, the answer is in that folder.
What if a gate fails a week before cut-over?
Move the date rather than the bar. A gate that is lowered under time pressure is the one an auditor asks about later. If a table genuinely cannot reach its bar in time, take it out of scope for this cut-over and move it in a later wave, with its own gates.
Name the evidence so it can be found
A simple convention saves hours later: one file per table or slice per run, named with the wave, the table, the slice and the
date, for example wave2_settlements_2026-01_2026-11-12.xlsx. Keep the queries used for each comparison beside the
reports, because a match rate means little without the query that produced it.


