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.
Lizette
1 months agoKaty
4 days agoClaribel
8 days agoShalon
18 days agoLeonora
1 months agoJackie
10 days agoLai
15 days agoSteffanie
24 days agoKris
27 days agoRoslyn
1 months agoOlive
9 days agoSalena
10 days agoThurman
19 days agoNoemi
25 days agoKatlyn
2 months agoElinore
17 days agoTeresita
24 days agoColene
30 days agoDenny
2 months agoOretha
27 days agoStarr
28 days agoJamal
1 months agoTien
1 months agoChandra
2 months agoKaty
1 months agoMyong
1 months agoBeckie
2 months agoKeena
2 months agoJosefa
2 months agoEric
2 months ago