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
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.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!