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.
Rozella
3 months agoRosalyn
3 months agoWilford
3 months agoStephen
4 months agoOmega
4 months agoMargo
4 months agoLewis
4 months agoAmina
4 months agoMargurite
5 months agoLynna
5 months agoElliott
5 months agoVal
5 months agoElliott
5 months agoKaitlyn
5 months agoFlo
5 months agoStephaine
5 months agoAnissa
2 years agoDominga
2 years agoScot
2 years agoChandra
1 year agoGiuseppe
2 years agoBrett
2 years agoTommy
1 year agoAmmie
2 years agoJosefa
2 years agoRessie
2 years agoLaurel
1 year agoFlorinda
1 year agoXuan
1 year agoGail
1 year agoLorrie
2 years agoWillard
2 years agoAn
2 years agoCora
2 years agoAnnita
2 years ago