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:ย 

Delta log retention

User16826990884
New Contributor III

Is there an impact on performance if I increase the Delta log retention to 3000?

1 REPLY 1

DD_Sharma
New Contributor III
  • There will be no performance impact if you want to keep " Delta log retention to 3000". However, it will increase the storage cost so it's not advisable to use a large number until really needed for the business use cases.
  • The default delta.logRetentionDuration is 30 days.
  • You need to use ALTER table command to modify the existing property value.

%sql

ALTER TABLE table_name

SET TBLPROPERTIES ('delta.logRetentionDuration' = '<number_of_days> days')

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