# SnowPro-Advanced-Data-Engineer — Question 602

**Type:** multiple_choice
**Topics:** topic_1

## Question

A Data Engineer is investigating a query that is taking a long time to return. The Query Profile shows the following:
//IMG//

What step should the Engineer take to increase the query performance?

## Correct Answer

_See scenario._

## Explanation

Selected Answer: B
What is disk spilling? When Snowflake warehouse cannot fit an operation in memory, it starts spilling (storing) data first to the local disk of a warehouse node, and then to remote storage.

In such a case, Snowflake first tries to temporarily store the data on the warehouse local disk. As this means extra IO operations, any query that requires spilling will take longer than a similar query running on similar data that is capable to fit the operations in memory.

Also, if the local disk is not sufficient to fit the spilled data, Snowflake further tries to write to the remote cloud storage, which will be shown in the query profile as "Bytes spilled to remote storage".

**Reference:** examtopics_top_comment

---
Source: https://hiexam.net/q/snowflake/SnowPro-Advanced-Data-Engineer/602  
Practice (tracked): https://hiexam.net/study/SnowPro-Advanced-Data-Engineer/practice