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: 

Submit new records from gold layer to postgres db

jeremy98
Contributor III

Hi community,
I want to ask you which is the best practice in your opinion to fill the data from gold layer to postgres db that is used to provide "real-time" data to an UI interface?

Thanks for any help!

2 REPLIES 2

hari-prasad
Valued Contributor II

Hello,

To begin, enable delta properties for your gold table if it isn’t already a delta table. Next, activate the Change Data Capture (CDC) delta property. This will give you a detailed log of insert, update, and delete operations at the row level, which you can use to perform DML operations on your Postgres tables with minimal coding effort.



Regards,
Hari Prasad

jeremy98
Contributor III

Hello @hari-prasad
Thanks you for your answer, considers that we are using DLT Pipelines, is it a good choice in this case? Because actually I don't see with DLT Pipelines the metadata for these materialized tables in this case these CDF statements

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now