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: 

how often should I vacuum my Delta table?

jose_gonzalez
Databricks Employee
Databricks Employee

I would like to know how often do I need to vacuum my delta table to clean old files?

1 REPLY 1

RonanStokes_DB
Databricks Employee
Databricks Employee

The requirements for Vacuum will depend on your application needs and the rate of arrival of new data. Vacuuming removes old versions of data.

If you need to be able to query earlier versions of data many months after the original ingest time, then it is likely that you will not vacuum older data often.

For applications that always operate on the latest version of data, then the main concern is to not break currently running queries. It will also depend on how much data is ingested daily.

For many applications , vacuuming weekly or nightly will be sufficient.

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