Note
Change data capture into BigQuery, without the surprises
Getting operational changes into the warehouse in minutes: capture, ordering, merging and the cost traps.
- CDC
- BigQuery
- Streaming
Note
Getting operational changes into the warehouse in minutes: capture, ordering, merging and the cost traps.
Nightly extracts make reports a day old and put heavy reads on production databases. Log-based change data capture reads the database's own change log instead, so changes arrive in minutes with little load on the source.
MERGE over a large target scans a lot of data. Partition and cluster the target to match the merge, and merge only recent partitions where you can.Managed services (for example Datastream into BigQuery) remove most of the plumbing. A Kafka-based pipeline makes sense when the same changes feed several consumers.