Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Question 48 of 132
Free Preview · 132 of 440 · questions 1–132 of 440 are free. Sign up free to sync your progress across devices.
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
- The OPTIMIZE command compacts small files into larger, optimally-sized files (typically 128MB by default). This reduces the number of files Spark needs to read, improving query performance. While VACUUM removes old versions, it doesn't address the small file problem. Increasing cluster size helps but doesn't solve the root cause. OPTIMIZE is the standard solution for file compaction in Delta Lake.