nerdexam
Snowflake

COF-C02 · Question #195

What is cached during a query on a virtual warehouse?

The correct answer is C. The columns in the result set of the query. During a query on a virtual warehouse, the columns in the result set of the query are cached. This allows for faster retrieval of data if the same or a similar query is run again, as the system can retrieve the data from the cache rather than reprocessing the entire query.

Performance Concepts

Question

What is cached during a query on a virtual warehouse?

Options

  • AAll columns in a micro-partition
  • BAny columns accessed during the query
  • CThe columns in the result set of the query
  • DAll rows accessed during the query

How the community answered

(24 responses)
  • A
    4% (1)
  • B
    4% (1)
  • C
    92% (22)

Explanation

During a query on a virtual warehouse, the columns in the result set of the query are cached. This allows for faster retrieval of data if the same or a similar query is run again, as the system can retrieve the data from the cache rather than reprocessing the entire query.

Topics

#Query Caching#Virtual Warehouse#Result Set#Performance

Community Discussion

No community discussion yet for this question.

Full COF-C02 Practice