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.

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