Skip to content
David Liu edited this page Jul 27, 2025 · 5 revisions

VACUUM

This command works differently depending on working environment: Delta, Apache Spark, or Apache Iceberg table.

VACUUM removes all files from the table directory that are

  • not managed by Delta
  • outdated: data files that are no longer in the latest state of the transaction log for the table and are older than a retention threshold.

Clone this wiki locally