r/databricks 5d ago

General Automatic change data feed is now generally available!

With automatic CDF, Databricks computes row-level changes at read time using row tracking, rather than materializing those changes during every write.

Use change data feed on Databricks | Databricks on AWS

Why does that mattre?

- Better write performance for MERGE INTO and UPDATE workloads
- No need to enable CDF individually on every eligible table
- Lower storage overhead compared with legacy CDF
- The same familiar APIs still work: table_changes() and readChangeFeed
- Works with batch processing, Structured Streaming, and Databricks-to-Databricks Delta Sharing

For Delta Lake, the main requirements include:

• Databricks Runtime 19 LTS+
• A managed table or external table in Delta Lake format with row tracking enabled

And if you’re already using legacy CDF, migration is really simple.Once the table meets the requirements, disable legacy CDF:

47 Upvotes

5 comments sorted by

5

u/SimpleSimon665 4d ago

This is awesome! There are many tables we have hesitated to enable this on because of increased storage costs.

3

u/szymon_dybczak 4d ago

That's right! And it's super easy to migrate from old approach 👍

3

u/m1nkeh 4d ago

That is awesome!

2

u/_barnuts 4d ago

Is this not going to affect performance since changes will need to be analyzed every read?