ExamGecko
Question list
Search
Search

Question 35 - COF-C02 discussion

Report
Export

A sales table FCT_SALES has 100 million records.

The following Query was executed

SELECT COUNT (1) FROM FCT__SALES;

How did Snowflake fulfill this query?

A.
Query against the result set cache
Answers
A.
Query against the result set cache
B.
Query against a virtual warehouse cache
Answers
B.
Query against a virtual warehouse cache
C.
Query against the most-recently created micro-partition
Answers
C.
Query against the most-recently created micro-partition
D.
Query against the metadata excite
Answers
D.
Query against the metadata excite
Suggested answer: D

Explanation:

Snowflake is designed to optimize query performance by utilizing metadata for certain types of queries. When executing aCOUNTquery, Snowflake can often fulfill the request by accessing metadata about the table's row count, rather than scanning the entire table or micro-partitions. This is particularly efficient for large tables likeFCT_SALESwith a significant number of records. The metadata layer maintains statistics about the table, including the row count, which enables Snowflake to quickly return the result of aCOUNTquery without the need to perform a full scan.

References:

Snowflake Documentation on Metadata Management

SnowPro Core Certification Study Guide

asked 23/09/2024
Azahar Basri
21 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first