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
New 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

hprasad
New Contributor III

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
New Contributor III

Hello @hprasad
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

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