I used AI tools to help draft and edit this post. I checked the facts and the wording, and the original lives at geekindata.com . The diagrams are on that page.
Orchestration, not a bigger VM
Key takeaways
Ban whole-entity driver InsertAll above documented row or byte thresholds.
Make batch size and concurrency explicit, tunable, and documented per entity.
Log per-batch id, rows, duration, and success or fail as structured logs.
Support entity and key-range filters so reruns stay finite.
Keep rebuild and incremental as separate modes with separate entry points.
Ship the pattern to prod only with batch-level observability and a runbook.
Whole-table InsertAll on one driver is a known failure mode for large tables. The notebook looks simple. The driver dies. Someone asks for a bigger cluster. The next reload dies later, with a larger bill.
Treat bulk reload as orchestration: batched parallel page ingest, progress monitoring, and entity filters for operable reruns.…