All jobs / Database administrator / Migrations
Database administrator interview question · 5+ years
How do you upgrade a major database version across a large fleet with near-zero downtime?
The strongest answer
Build a repeatable pipeline: compatibility checks, a logical-replication or blue-green cut-over per database, canary a low-risk system first, automate the switch with a rollback, and schedule the fleet in waves with a stop rule
Why it works
Exactly — canary, automate, wave, and know when to stop.
What a good answer covers
- Canary, then waves.
- Automate the cut-over and rollback.
- A stop rule for the wave.
- Repeatable beats heroic.
Answers that fall short
- Close, but not the strongest: Upgrade one database at a time by hand, learning as we go
Learning as you go is fine for the canary; by hand does not scale to a fleet. - Weak: Upgrade the whole fleet in one weekend window
One weekend concentrates all the risk and removes any chance to learn. - Red flag: Stay on the old version and pay for extended support indefinitely
Extended support buys time once; it is not a strategy.
Who gets asked this
More Migrations questions
- A major engine version upgrade is planned for the platform a dozen applications sit on. How do you test…
- A change freeze is in force and a team needs an urgent index to stop a customer-facing slowdown. How do you…
- A director wants an untested schema change run on the payments database tonight to hit a launch date. How do…
- You are moving a critical on-premises database to a cloud-managed service with minimal downtime. Plan?
- Teams wait weeks for the DBA team to review schema changes. How do you fix the bottleneck without losing…
- Developers describe the DBA team as “the department of no”. What do you change?
- You have to load tens of millions of rows into a table tonight. How?
- A minor security patch for the database engine is out. How do you roll it out?