Ultimate access to all questions.
What is the most effective strategy for managing log compaction in a Delta Lake table with extensive transaction logs without losing historical data?
Explanation:
The correct answer is D. Using the VACUUM command with a retention period that optimizes storage while preserving history. This approach is recommended because it efficiently removes older log files that are no longer needed, thus optimizing storage and maintaining query performance, without risking the loss of important historical data.
In summary, the VACUUM command, when used with an appropriate retention period, offers the best balance between preserving necessary historical data and optimizing storage and performance.