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

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

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.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group