ExamGecko
Question list
Search
Search

List of questions

Search

Question 103 - DEA-C01 discussion

Report
Export

To view/monitor the clustering metadata for a table, Snowflake provides which of the following system functions?

A.
SYSTEM$CLUSTERING_DEPTH_KEY
Answers
A.
SYSTEM$CLUSTERING_DEPTH_KEY
B.
SYSTEM$CLUSTERING_KEY_INFORMATION (including clustering depth)
Answers
B.
SYSTEM$CLUSTERING_KEY_INFORMATION (including clustering depth)
C.
SYSTEM$CLUSTERING_DEPTH
Answers
C.
SYSTEM$CLUSTERING_DEPTH
D.
SYSTEM$CLUSTERING_INFORMATION (including clustering depth)
Answers
D.
SYSTEM$CLUSTERING_INFORMATION (including clustering depth)
Suggested answer: C, D

Explanation:

SYSTEM$CLUSTERING_DEPTH:

Computes the average depth of the table according to the specified columns (or the clustering key defined for the table). The average depth of a populated table (i.e. a table containing data) is always 1 or more. The smaller the average depth, the better clustered the table is with regards to the specified columns.

Calculate the clustering depth for a table using two columns in the table:

SELECT SYSTEM$CLUSTERING_DEPTH('TPCH_PRODUCT', '(C2, C9)');

SYSTEM$CLUSTERING_INFORMATION:

Returns clustering information, including average clustering depth, for a table based on one or more columns in the table.

SELECT SYSTEM$CLUSTERING_INFORMATION('SAMPLE_TABLE', '(col1, col3)');

asked 23/09/2024
Max Lenin Dos Santos Torres
50 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first