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: 

Configure Soft-Delete Retention Period of Unity Catalog Managed Table

guiferviz
New Contributor III

According to the docs,

When a managed table is dropped from Unity Catalog, its underlying data is deleted from your cloud tenant within 30 days.

Can I configure the retention period? Is executing DELETE FROM my_table followed by VACUUM my_table RETAIN 0 HOURS the only method to remove managed tables without retaining the data for 30 days?

 

1 ACCEPTED SOLUTION

Accepted Solutions

KaranamS
Contributor II

Hi @guiferviz ,

Yes, that is correct! The only way is to use DELETE and VACCUM commands. For managed tables, the default retention period is set to 30‑days. Unity Catalog enforces this to provide an additional safety net against accidental data loss, and that period isn’t configurable. 

View solution in original post

2 REPLIES 2

KaranamS
Contributor II

Hi @guiferviz ,

Yes, that is correct! The only way is to use DELETE and VACCUM commands. For managed tables, the default retention period is set to 30‑days. Unity Catalog enforces this to provide an additional safety net against accidental data loss, and that period isn’t configurable. 

guiferviz
New Contributor III

Thank you for confirming @KaranamS! I hope it becomes configurable in the future.

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