cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

how often should I vacuum my Delta table?

jose_gonzalez
Moderator
Moderator

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

1 REPLY 1

RonanStokes_DB
New Contributor III
New Contributor III

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.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.