Exam SnowPro Core All QuestionsBrowse all questions from this exam
Question 666

A complex SQL query involving eight tables with joins is taking a while to execute. The Query Profile shows that all partitions are being scanned.

What is causing the query performance issue?

    Correct Answer: B

    The performance issue is primarily due to the large volume of data being fetched and the multiple joins applied in the query. When joining eight tables, especially with significant amounts of data, the complexity and size of the dataset can lead to extensive scanning and processing times. Optimizing the query to handle the large volume more efficiently or reducing the number of joins can help improve performance.

Discussion
MultiCloudIronManOption: A

correct

ludakaOption: C

I think the answer is C. https://docs.snowflake.com/en/user-guide/ui-query-profile#exploding-joins

0e504b5Option: A

A is correct https://community.snowflake.com/s/question/0D5Do00000HbmAdKAJ/what-exactly-does-pruning-do-in-snowflake Because of pruning less of micro portions are scanned, which means less bytes of data is scanned. That improves query response.