cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
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.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.