
Answer-first summary for fast verification
Answer: It maintains a persistent data structure that keeps track of the values of the table’s columns in each of its micro-partitions.
The correct answer is B because the search optimization service creates and maintains a persistent data structure called a search access path that tracks which values of a table's columns are in each micro-partition, allowing Snowflake to skip irrelevant micro-partitions during scans. This directly improves query performance for point lookups and selective queries. Option A is incorrect because it describes pruning based on joins, not the search optimization service. Option C is incorrect as it refers to local disk caching, which is unrelated to the search optimization service. Option D is incorrect because it describes query result caching, not the search optimization service's functionality. The community discussion with 100% consensus and upvoted comments referencing official Snowflake documentation confirms B as the correct answer.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
How does the search optimization service improve query performance for Snowflake users?
A
It scans the micro-partitions based on the joins used in the queries and scans only join columns.
B
It maintains a persistent data structure that keeps track of the values of the table’s columns in each of its micro-partitions.
C
It scans the local disk cache to avoid scans on the tables used in the query.
D
It keeps track of running queries and their results and saves those extra scans on the table.