SnowPro Core Exam QuestionsBrowse all questions from this exam

SnowPro Core Exam - Question 143


When reviewing a query profile, what is a symptom that a query is too large to fit into the memory?

Show Answer
Correct Answer: D

A symptom that a query is too large to fit into memory is that it starts spilling to remote storage. This occurs when the available memory is not sufficient to hold intermediate results during the query execution, causing the query processing engine to spill data first to local disk and then to remote storage if local space is insufficient. Spilling to remote storage is indicative of memory limitations during query processing.

Discussion

14 comments
Sign in to comment
c0d3gOption: D
Mar 16, 2023

For some operations (e.g. duplicate elimination for a huge data set), the amount of memory available for the compute resources used to execute the operation might not be sufficient to hold intermediate results. As a result, the query processing engine will start *spilling* the data to local disk. If the local disk space is not sufficient, the spilled data is then saved to remote disks. https://docs.snowflake.com/en/user-guide/ui-query-profile.html#queries-too-large-to-fit-in-memory

whiteomax
Feb 7, 2024

I agree, I think having all partitions scanned just means you might want to set up a cluster key.

aalonsoOption: D
Dec 20, 2022

https://docs.snowflake.com/en/user-guide/ui-query-profile.html#queries-too-large-to-fit-in-memory

RajuNaikOption: D
Apr 26, 2023

Answer should be D

ManocsOption: D
Aug 29, 2022

https://docs.snowflake.com/en/user-guide/ui-query-profile.html#queries-too-large-to-fit-in-memory

William_20Option: D
Aug 30, 2022

See docs referred to by Manocs.

kjdfsafc87456Option: D
Sep 7, 2022

See docs referred to by Manocs.

baig123Option: D
Dec 16, 2022

I agree with Answer D, if query spilling happens , query processing engine start saving the data to local disk if this is not sufficient then it start saving the data to remote disk, this process significantly impact query performance, the solution is use larger size warehouse.

iamPhDOption: D
Dec 26, 2022

Answer should be D

KarBiswaOption: D
Feb 10, 2023

as per documentaion

JRTanubuddi
Feb 21, 2023

as per the document it will spill to local storage and if it fills then dumped into Remote storage

EmiBOption: D
Mar 6, 2023

As a result, the query processing engine will start spilling the data to local disk. If the local disk space is not sufficient, the spilled data is then saved to remote disks.

_yyuktaOption: D
Feb 25, 2024

D is correct

AnireddySaikiranReddyOption: D
Feb 25, 2024

Correct Answer: D

pranaligOption: D
Jun 15, 2024

Correct Answer: D

Mallikharjuna452Option: D
Jul 19, 2024

D.is correct