-
Database
Backfill a big table without taking my app down
Plans and writes a batched, resumable backfill for populating a new column on a large production table.
Free Prompt
What This Does / How This Helps
Produces a batched, resumable, throttled backfill script for populating a new column on a table that is too big to update in one shot. The naive backfill is one UPDATE statement. On a small table it is instant. On a real table it locks writes, balloons the transaction log, and your app starts timing out while support email piles up. This is a rite of passage for every growing app and it is completely avoidable. The prompt gives you the full safe pattern: small key-ranged batches, resumable progress, a throttle so production traffic wins, a dry run so you know the scope before you start, and the deploy ordering so old and new code coexist while the data catches up.
Want to skip doing this by hand?
Fortivibe audits your app for all of the areas these prompts cover (and more).