SnowPro Advanced: Architect — Question 147

A company has a very large table that is being queried by two groups. Each group uses unique WHERE clauses in their queries. The first group consistently achieves high-performance results, while the second group experiences poor query performance.

Analysis of the Query Profile reveals that the first group’s queries access a limited number of micro-partitions, in contrast to the second group’s queries that scan all micro-partitions in the table.

What should be done to ensure that performance is MAXIMIZED for both sets of queries?

Answer options

Correct answer: B

Explanation

Creating a cloned table with a clustering key tailored to the poorly-performing queries allows for optimized access to the necessary data, thus improving performance. The other options either do not directly address the issues of data access or rely on modifications that may not yield the desired performance improvements for the second group.