SpinTheMic
Pro

Interview practice question

Renaming a column without downtime

System Design · Databases · Beginner

You need to rename a column in a busy production table. How do you do it without breaking the app?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Do not rename in one step.
  • Add new column.
  • Write to both, backfill old data.
  • Switch reads, then stop writing old.
  • Drop old column later.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics