All jobs / Database administrator / Migrations

Database administrator interview question · 1–3 years

A migration has copied a few hundred tables into a new database and the team wants to switch over tonight.

How do you prove the data actually arrived intact?

The strongest answer

Row counts per table, checksums on the key and numeric columns, a sample of rows compared end to end, and business queries that must give the same answer on both sides

Why it works

Exactly — counts catch missing rows, checksums catch changed values, and a business query catches the truncation or encoding problem that neither notices.

What a good answer covers

Answers that fall short

Who gets asked this

More Migrations questions