ExamGecko
Question list
Search
Search

Question 381 - COF-C02 discussion

Report
Export

How should clustering be used to optimize the performance of queries that run on a very large table?

A.
Manually re-cluster the table regularly.
Answers
A.
Manually re-cluster the table regularly.
B.
Choose one high cardinality column as the clustering key.
Answers
B.
Choose one high cardinality column as the clustering key.
C.
Use the column that is most-frequently used in query select clauses as the clustering key.
Answers
C.
Use the column that is most-frequently used in query select clauses as the clustering key.
D.
Assess the average table depth to identify how clustering is impacting the query.
Answers
D.
Assess the average table depth to identify how clustering is impacting the query.
Suggested answer: B

Explanation:

For optimizing the performance of queries that run on a very large table, it is recommended to choose one high cardinality column as the clustering key.This helps to co-locate similar rows in the same micro-partitions, improving scan efficiency in queries by skipping data that does not match filtering predicates4.

References:[COF-C02] SnowPro Core Certification Exam Study Guide

asked 23/09/2024
Kinshuk Choubisa
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first