Backfill a Large Table

Talk it through out loud with your AI coach.

The problem

  • hard
  • Pro

You've added a new column to a table with two hundred million rows and need to fill it in for every existing row without slowing down the live site. Explain how you'd run the backfill safely.

What a strong answer covers

  • Why one enormous update is risky on a live system.
  • How to break the work into small, gentle pieces.
  • Making the job safe to stop and restart.
  • Dealing with rows written while it runs, and what to watch.

Common mistake: Running one giant update in a single transaction and causing long locks, replica lag and bloat.

Knowing this is half of it. Saying it clearly out loud is the part the coach helps you practise.

Practise it out loud