
Answer-first summary for fast verification
Answer: VACUUM
The `VACUUM` command in Delta Lake is specifically designed to remove old data files that are no longer needed by the table for any active queries or operations. This operation is crucial for managing storage costs and improving performance by eliminating unnecessary data. Unlike `OPTIMIZE`, which focuses on reorganizing data files for better performance, `VACUUM` targets the removal of obsolete files, making it the ideal choice for this scenario.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.