A Developer is having a performance issue with a Snowflake query. The query receives up to 10 different values for one parameter and then performs an aggregation over the majority of a fact table. It then
joins against a smaller dimension table. This parameter value is selected by the different query users when they execute it during business hours. Both the fact and dimension tables are loaded with new data in an overnight import process.
On a Small or Medium-sized virtual warehouse, the query performs slowly. Performance is acceptable on a size Large or bigger warehouse. However, there is no budget to increase costs. The Developer
needs a recommendation that does not increase compute costs to run this query.
What should the Architect recommend?
Enabling the search optimization service on the table can improve the performance of queries that have selective filtering criteria, which seems to be the case here. This service optimizes the execution of queries by creating a persistent data structure called a search access path, which allows some micro-partitions to be skipped during the scanning process. This can significantly speed up query performance without increasing compute costs1.
Reference
* Snowflake Documentation on Search Optimization Service1.
Stephen
2 days agoOmega
8 days agoMargo
14 days agoLewis
19 days agoAmina
24 days agoMargurite
1 month agoLynna
1 month agoElliott
1 month agoVal
1 month agoElliott
1 month agoKaitlyn
1 month agoFlo
1 month agoStephaine
1 month agoAnissa
1 year agoDominga
1 year agoScot
1 year agoChandra
1 year agoGiuseppe
1 year agoBrett
1 year agoTommy
1 year agoAmmie
1 year agoJosefa
1 year agoRessie
1 year agoLaurel
1 year agoFlorinda
1 year agoXuan
1 year agoGail
1 year agoLorrie
1 year agoWillard
1 year agoAn
1 year agoCora
1 year agoAnnita
1 year ago