internalsGet Pro

Module 07 · Lesson 4 of 9Pro

Initial snapshots: loading history before changes

Level
Intermediate
Topic
Change data capture and replication
Reading time
16 min

When you finish this page you can

  1. Explain why a change stream can’t produce rows that already existed, and why a plain copy before or after it loses or reverts changes.
  2. Describe how Debezium’s initial snapshot and its incremental snapshot each join history to the stream without a gap.
  3. Estimate how long a snapshot of a large table runs, and what it holds on the source database while it runs.
  4. Choose a snapshot approach for a table from its size, its key and how fresh the target must stay.

Builds on 2 lessons

Start with lesson 116 min
  1. Change data capture: reading the database’s change log16 min
  2. Debezium and CDC connectors in practice18 min

The stream starts with nothing

is an online store in India. A year after the nightly loads of earlier modules, it takes about 500,000 orders a day. Meera, a data engineer, moves those orders from the orders service’s PostgreSQL database into Snowflake. Daniel, who leads finance reporting, reads them there every morning.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan