Study FAQ
When should I use Snowflake Search Optimization or Query Acceleration?
Also asked as 2
- Which query patterns fit Snowflake Search Optimization versus Query Acceleration?
- How do I choose between a search access path and offloading eligible query work in Snowflake?
Answer
Use Search Optimization Service for supported selective lookups, such as fetching a few rows from a large table by an ID. Evaluate Query Acceleration Service when eligible parts of a warehouse query can benefit from offloading work, such as a large scan with selective filtering. Both require Enterprise Edition or higher, and eligibility depends on the query and feature configuration.
Search Optimization maintains a persistent search access path for supported columns and predicate types. Its storage and serverless maintenance have costs. Query Acceleration adds serverless compute for eligible query work. Inspect query shape and eligibility evidence, such as the estimate for a representative query ID, before enabling it. A query can use both services when it meets their conditions.
For recurring date-range filters with weak pruning, consider whether data organization or a clustering key better targets the cause. For repeated calculations over a stable subset of one base table, evaluate a materialized view. Judge the change using latency and total cost after the new service or structure is ready.
Snowflake query performance options · Storage performance trade-offs · Search Optimization Service · Query Acceleration Service
Full explanation
Snowflake Query Performance and Cost Optimization
Study guide · COF-C03
Read the full explanation