01-13-2022 03:05 AM
01-13-2022 04:44 AM
Hi @Borislav Blagoev ,
Vacuum cleans up files associated with a table.
Note:-
This command works differently depending on whether you’re working on a Delta or Apache Spark table.
Vacuum a Delta table (Delta Lake on Databricks)
Recursively vacuum directories associated with the Delta table and remove data files that are no longer in the latest state of the transaction log for the table and are older than a retention threshold. Files are deleted according to the time they have been logically removed from Delta’s transaction log + retention hours, not their modification timestamps on the storage system. The default threshold is 7 days.
Vacuum a Spark table (Apache Spark)
Recursively vacuums directories associated with the Spark table and remove uncommitted files older than a retention threshold. The default threshold is 7 days.
On Spark tables, Databricks automatically triggers
VACUUM operations as data are written.
01-13-2022 04:44 AM
Hi @Borislav Blagoev ,
Vacuum cleans up files associated with a table.
Note:-
This command works differently depending on whether you’re working on a Delta or Apache Spark table.
Vacuum a Delta table (Delta Lake on Databricks)
Recursively vacuum directories associated with the Delta table and remove data files that are no longer in the latest state of the transaction log for the table and are older than a retention threshold. Files are deleted according to the time they have been logically removed from Delta’s transaction log + retention hours, not their modification timestamps on the storage system. The default threshold is 7 days.
Vacuum a Spark table (Apache Spark)
Recursively vacuums directories associated with the Spark table and remove uncommitted files older than a retention threshold. The default threshold is 7 days.
On Spark tables, Databricks automatically triggers
VACUUM operations as data are written.
01-13-2022 04:55 AM
Thanks!
01-13-2022 05:00 AM
Hi @Borislav Blagoev , If that answers your question would you like to mark it as the best answer?
01-13-2022 05:18 AM
I can't see where is the button for that
01-13-2022 05:26 AM