SnowPro Core Exam QuestionsBrowse all questions from this exam

SnowPro Core Exam - Question 224


In the query profiler view for a query, which components represent areas that can be used to help optimize query performance? (Choose two.)

Show Answer
Correct Answer: AC

Bytes scanned indicates the amount of data read by the query. Minimizing the number of bytes scanned can significantly improve query performance by reducing the volume of data processed. The number of partitions scanned represents the partitions accessed during query execution. Optimizing the number of partitions scanned helps improve performance by limiting the amount of partition data processed. These two components are key areas to focus on when optimizing query performance as they directly affect the query's efficiency and processing time.

Discussion

26 comments
Sign in to comment
BigDataBBOptions: CD
Jan 5, 2023

I think that the right answer si C,D. Because the number of bytes scanned has no values if don't know if your query has or not make a prune, reducing the number of partition tha has scanned. I have a good query if my filters reduce the number of (micro) partiotion that the query must access to get the data.

bibisaOptions: AC
Apr 5, 2023

A. Bytes scanned represents the amount of data scanned by the query. By minimizing the number of bytes scanned, query performance can be improved. C. Number of partitions scanned represents the number of partitions read during query execution. By minimizing the number of partitions scanned, query performance can be improved. B, D, and E are incorrect statements. Bytes sent over the network, percentage scanned from cache, and external bytes scanned may provide useful information for monitoring or troubleshooting, but they are not directly related to optimizing query performance.

BigDataBBOptions: AC
Jan 18, 2023

I correct myself the right answer is A, C, bracause i have the cache only in next executions of the query

Kate0204Options: AD
Dec 8, 2022

Bytes scanned — the number of bytes scanned so far. Percentage scanned from cache — the percentage of data scanned from the local disk cache.

BigDataBB
Jan 13, 2023

Common Query Problems Identified by Query Profile: - https://docs.snowflake.com/en/user-guide/ui-query-profile.html#queries-too-large-to-fit-in-memory - https://docs.snowflake.com/en/user-guide/ui-query-profile.html#inefficient-pruning

sfdumpsOptions: AC
Dec 28, 2023

QUERY RESULT CACHE IS NOT HELPFULL

_yyuktaOptions: AC
Feb 26, 2024

AC are correct

paknadeem
Dec 8, 2022

The answer is A,D

paknadeem
Dec 8, 2022

https://docs.snowflake.com/en/user-guide/ui-query-profile.html

miadieselOptions: AD
Dec 22, 2022

IO section: https://docs.snowflake.com/en/user-guide/ui-query-profile.html#when-to-use-query-profile

KarBiswaOptions: CD
Feb 10, 2023

pruning and memory consumption are the two main factors

OTEOptions: CD
Mar 13, 2023

Number of partitions being scanned (in relation to the total number) -> Pruning Cache usage can significantly boost the performance

Marge23Options: AC
Sep 13, 2023

bytes scanned, partition scanned

Marge23Options: AC
Sep 18, 2023

CORRECT

niho1993Options: AC
Sep 26, 2023

reference to this question https://community.snowflake.com/s/question/0D7Do000000cglDKAQ/detail

Lematthew31Options: AC
Apr 21, 2024

A. Bytes scanned: This indicates the amount of data scanned from the tables or files involved in the query. By minimizing the number of bytes scanned, you can optimize query performance by reducing the amount of data processed. C. Number of partitions scanned: This represents the number of partitions accessed during the query execution. Optimizing the number of partitions scanned can improve query performance, as accessing fewer partitions typically requires less processing time. So, the correct options are A. Bytes scanned and C. Number of partitions scanned

PrashantGupta1616Options: AC
Jun 7, 2024

AC is the answer

someshVashisthaOptions: AC
Jan 1, 2025

Explanation: A. Bytes scanned Represents the total amount of data scanned during query execution. High values indicate that the query is scanning a large dataset, which can impact performance. Optimization: Reduce bytes scanned by applying filters, leveraging clustering, or optimizing table design. C. Number of partitions scanned Represents the number of partitions read during query execution. Scanning too many partitions can slow down query performance. Optimization: Use clustering, partition pruning, or query predicates to minimize the number of partitions scanned.

psilvabrOptions: AC
Mar 10, 2023

AC for me, because bytes scanned and number of partitions scanned referenced in the doc: https://docs.snowflake.com/en/user-guide/ui-query-profile.html#queries-too-large-to-fit-in-memory

shyemkoOptions: AD
Mar 24, 2023

https://docs.snowflake.com/en/user-guide/ui-query-profile

dmitriypoOptions: AC
May 10, 2023

I would go for AC. The query should not rely on cache.

bonniezlOptions: CD
Jun 1, 2023

CD is correct

MultiCloudIronManOptions: CD
Jul 13, 2023

Should be correct

Mallikharjuna452
Jul 21, 2024

C and D are correct

Jarturo
Aug 5, 2024

D & E D: Inefficient Pruning https://docs.snowflake.com/en/user-guide/ui-query-profile.html#inefficient-pruning E: Queries Too Large to Fit in Memory: https://docs.snowflake.com/en/user-guide/ui-query-profile.html#queries-too-large-to-fit-in-memory

Kuldeepkd
Nov 24, 2024

A and C should be the correct answers

JRayanOptions: AC
Feb 6, 2025

The components in the Snowflake query profiler that help optimize query performance are Bytes scanned (A) and Number of partitions scanned (C). Bytes scanned (A) directly impacts performance, as reducing the volume of data processed through efficient filtering or clustering improves speed and cost. Number of partitions scanned (C) reflects partition pruning efficiency. Scanning fewer partitions (via proper clustering or filters) minimizes unnecessary data access. These metrics are critical for identifying bottlenecks in data retrieval and optimizing query execution.