nerdexam
Snowflake

COF-C02 · Question #86

What type of query benefits the MOST from search optimization?

The correct answer is C. A query that uses equality predicates or predicates that use IN. Snowflake's Search Optimization Service is specifically designed to accelerate selective point-lookup queries on large tables. It builds a persistent search access path that is most effective for queries using equality predicates (e.g., WHERE id = 12345) or IN predicates (e.g…

Performance Concepts

Question

What type of query benefits the MOST from search optimization?

Options

  • AA query that uses only disjunction (i.e., OR) predicates
  • BA query that includes analytical expressions
  • CA query that uses equality predicates or predicates that use IN
  • DA query that filters on semi-structured data types

How the community answered

(23 responses)
  • B
    4% (1)
  • C
    91% (21)
  • D
    4% (1)

Explanation

Snowflake's Search Optimization Service is specifically designed to accelerate selective point-lookup queries on large tables. It builds a persistent search access path that is most effective for queries using equality predicates (e.g., WHERE id = 12345) or IN predicates (e.g., WHERE status IN ('active', 'pending')). Queries using only OR/disjunction predicates (A) do not benefit as much. Analytical expressions (B) are better served by clustering or partitioning strategies. Semi-structured data queries (D) can benefit somewhat, but equality and IN predicates on structured columns represent the primary and most impactful use case.

Topics

#Search Optimization Service#Query Performance#Equality Predicates#IN Predicates

Community Discussion

No community discussion yet for this question.

Full COF-C02 Practice