How does query queuing indicate an undersized Snowflake virtual warehouse, and what actions can be taken?

Quick Overview

Asks how query queuing reveals that a Snowflake virtual warehouse is too small and what to do about it. Tests reading query history and warehouse load metrics, telling concurrency limits apart from other delays, and choosing between scaling options and workload changes.

How does query queuing indicate an undersized Snowflake virtual warehouse, and what actions can be taken?

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: medium

Interview Round: Other

In Snowflake, how does query queuing indicate an undersized virtual warehouse, and what actions can be taken? ```hint Waiting versus running slowly Separate the reasons a query waits before it starts from the reasons it runs slowly once it has started. Which fields in the query history tell those apart? ``` ```hint Match the fix to the shortage Adding clusters and making each cluster bigger solve different shortages. Work out which shortage your metrics point to before choosing. ``` ### What a Strong Answer Covers - What queuing means for a virtual warehouse and which metrics or views show it - How to tell concurrency queuing apart from provisioning delays, lock waits and per-query resource shortage such as spilling - Matching each fix to its cause: scaling out, scaling up, separating workloads, concurrency settings and query tuning - The cost of each fix and how to confirm that a change worked ### Follow-up Questions - What is the difference between the Standard and Economy scaling policies on a multi-cluster warehouse? - Raising `MAX_CONCURRENCY_LEVEL` reduces queuing on paper. Why can it make queries slower? - A dashboard is slow every Monday at 9 a.m. and fine the rest of the week. How would you handle that without paying for a larger warehouse all week? - How would you stop a long queue from holding BI queries for an hour?

Overview: Asks how query queuing reveals that a Snowflake virtual warehouse is too small and what to do about it. Tests reading query history and warehouse load metrics, telling concurrency limits apart from other delays, and choosing between scaling options and workload changes.

PracHub logo
General
Nov 25, 2026
mediumData ScientistOtherData Manipulation (SQL/Python)
0
0

In Snowflake, how does query queuing indicate an undersized virtual warehouse, and what actions can be taken?

What a Strong Answer Covers Guidance

  • What queuing means for a virtual warehouse and which metrics or views show it
  • How to tell concurrency queuing apart from provisioning delays, lock waits and per-query resource shortage such as spilling
  • Matching each fix to its cause: scaling out, scaling up, separating workloads, concurrency settings and query tuning
  • The cost of each fix and how to confirm that a change worked

Follow-up Questions Guidance

  • What is the difference between the Standard and Economy scaling policies on a multi-cluster warehouse?
  • Raising MAX_CONCURRENCY_LEVEL reduces queuing on paper. Why can it make queries slower?
  • A dashboard is slow every Monday at 9 a.m. and fine the rest of the week. How would you handle that without paying for a larger warehouse all week?
  • How would you stop a long queue from holding BI queries for an hour?