how often should I vacuum my Delta table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2021 12:10 PM
I would like to know how often do I need to vacuum my delta table to clean old files?
- Labels:
-
Delta
-
Vacuum Files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2021 11:26 AM
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.

