Interview practice question
Splitting a table without downtime
Backend Engineering · Relational Databases · Experienced
You need to split a huge "users" table into "users" and "user_profiles" while the app is live. How do you do it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Create new table.
- Dual write from app (or triggers).
- Backfill in batches.
- Switch reads, verify.
- Remove old columns later.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.