How far back
Reload only the history that’s affected and that people still report on.
Reloading months of history can lock tables and slow reports. How to plan a backfill that runs in the background while people keep working.
A change to the load logic, a new column, or a fixed bug often means reloading historical data. Run as one large job, a backfill can lock the tables reports read from, fill the database log, and run into the morning. Reports time out at 9am, and if the job fails halfway the warehouse holds a mix of old and new figures.
Reload only the history that’s affected and that people still report on.
List every table the change touches, including summaries built from them.
Load into a separate copy and swap it in, rather than updating live tables.
Schedule heavy work outside reporting hours and the nightly load.
Step 1 of 4
Build the corrected history alongside the live table, so reports are unaffected.
Process one month at a time, recording which chunks are done so it can resume after a failure.
Compare counts and totals for each chunk before moving to the next.
Replace the live table in one quick step once every chunk is checked.
A backfill often changes figures for past periods that people have already reported. Tell report users before the swap which periods will change, by roughly how much, and why. For example: “sales for last March will rise because returns are no longer counted twice.”
Tell us what changed and how much history is affected. A few lines are enough.