Row counts dip for one day
One day has noticeably fewer orders or transactions than the days around it.
When a nightly load fails or skips a window, how to find the gap and reload it without duplicating rows or rebuilding everything.
Incremental loads only pick up records that changed since the last run, using a marker such as the last modified time loaded. If one run fails and the next moves the marker on regardless, the records from the failed window are never loaded. Nothing errors. Reports look normal, the totals are just slightly low, and the gap often goes unnoticed until someone compares a month against the source system.
One day has noticeably fewer orders or transactions than the days around it.
The warehouse total for a week doesn’t match the source system, while other weeks do.
The load log shows one failed run, then normal runs that started from a later marker.
The stored last-loaded time moved forward further than one run’s worth.
Step 1 of 5
Compare counts by day, or by hour, between source and warehouse to pin down the missing window.
Make sure the reason for the failure is resolved, or the reload may fail the same way.
Extract the records changed between the last good marker and the start of the next successful run.
Match on the business key, so records that did load are updated rather than duplicated.
Check counts and totals for the affected dates now match the source.
Most missed windows come from the marker being saved before the data is safely loaded. Store the new marker in the same step that commits the data, so a failed run leaves the marker where it was and the next run picks up the missed records automatically. For example: a load that fails at 2am and succeeds at 3am should cover both hours, with nobody needing to step in.
Tell us how your loads run and where the gaps appear. A few lines are enough.