cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

When should Change Data Feed be used?

patputnam-db
New Contributor II
New Contributor II

IHAC who has a Change Data Capture data flowing into a Delta table. They would like to propagate these changes from this table into another table downstream. Is this a good application for using Change Data Feed?

1 REPLY 1

patputnam-db
New Contributor II
New Contributor II

CDF simplifies the process of identifying the set of records that are updated, inserted, or deleted with each version of a Delta table. It helps to avoid having to implement downstream 'custom' filtration to identify these changes. This makes it an ideal source for servicing changed data to downstream applications.

Some things to consider when working with CDF are around the the type and volume of changes. CDF works well where the changes are a mix of insert, update and deletes; CDF may not be the best option when changes are append-only. Also, CDF works well in situations where small fractions of the data set are being changed per batch; when a large fraction of the data set is being changed CDF may not be a good fit.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!