DP-203 · Question #241
Drag and Drop Question You plan to create a table in an Azure Synapse Analytics dedicated SQL pool. Data in the table will be retained for five years. Once a year, data that is older than five years…
The correct answer is HASH; OrderDateKey. HASH distribution on OrderDateKey ensures data is evenly distributed across partitions based on the date column, which is the key used for yearly deletions. Using OrderDateKey as both the distribution and partition column allows partition elimination to work efficiently…
Question
Exhibit
Answer Area
Drag items
Correct arrangement
- HASH
- OrderDateKey
Explanation
HASH distribution on OrderDateKey ensures data is evenly distributed across partitions based on the date column, which is the key used for yearly deletions. Using OrderDateKey as both the distribution and partition column allows partition elimination to work efficiently, meaning entire partitions of old data (e.g., a full year) can be dropped with a simple partition switch or truncate operation rather than row-by-row deletes, dramatically minimizing deletion time. This combination satisfies both requirements: even distribution and fast deletion of time-based data.
Topics
Community Discussion
No community discussion yet for this question.
