COF-C02 · Question #206
If a Snowflake user decides a table should be clustered, what should be used as the cluster key?
The correct answer is D. The columns most actively used in the select filters. When deciding on a clustering key for a table, Snowflake recommends using the columns that are most actively used in the select filters. This is because clustering by these columns can improve the performance of queries that filter on these values, leading to more efficient…
Question
If a Snowflake user decides a table should be clustered, what should be used as the cluster key?
Options
- AThe columns that are queried in the select clause.
- BThe columns with very high cardinality.
- CThe columns with many different values.
- DThe columns most actively used in the select filters.
How the community answered
(47 responses)- A6% (3)
- B2% (1)
- C2% (1)
- D89% (42)
Explanation
When deciding on a clustering key for a table, Snowflake recommends using the columns that are most actively used in the select filters. This is because clustering by these columns can improve the performance of queries that filter on these values, leading to more efficient scans and better overall query performance.
Topics
Community Discussion
No community discussion yet for this question.