Monitoring Snowflake Performance: 5 Key Metrics and the Native Tools to Track Them

Key Takeaways
- Snowflake records the data you need for performance monitoring. Snowsight, the ACCOUNT_USAGE views, resource monitors, and budgets cover most of it natively.
- Five metrics carry most of the signal: query latency (broken into compile, queue, and execution time), warehouse load and queuing, spillage, pruning efficiency, and heavy-hitter queries and users.
- ACCOUNT_USAGE views have latency (45 minutes to 8 hours, depending on the view). They’re built for trend analysis. For the last few minutes, use the INFORMATION_SCHEMA QUERY_HISTORY table function.
- The hard part is keeping up. Workloads shift hour to hour, and acting on these metrics by hand around the clock is difficult to sustain. That’s the case for automation on top of Snowflake’s telemetry.
A dashboard that usually loads in 40 seconds took six minutes this morning.
Snowflake already recorded why. Compile time, queue time, spill to disk, partitions scanned: every query’s breakdown is in QUERY_HISTORY, ready to query.
Monitoring Snowflake performance comes down to reading five of those signals on a regular cadence, and acting on them fast enough to matter. This guide covers which five, where Snowflake records each one, the SQL to pull them, and what to do when one moves.
What Is Snowflake Performance Monitoring?
Snowflake performance monitoring is the practice of tracking how your queries and virtual warehouses behave over time: how long queries take, where that time goes, how loaded each warehouse is, and which workloads use the most compute. The goal is to keep queries meeting their SLAs while compute spend tracks the value of the work being done.
It matters for every cloud data warehouse, not just Snowflake. Cloud platforms scale elastically, which is the point: you aren’t capped by hardware you bought up front. It also means cost follows usage. Monitoring is how you keep the two aligned.
Monitoring tells you that something moved. Finding out why is observability. If you’re weighing tools for either one, our post on observability vs. monitoring in Snowflake covers the difference.
What Native Tools Does Snowflake Provide for Performance Monitoring?
Start with what’s already in your account.
- Snowsight Query History. Filter recent queries by user, warehouse, status, or duration, and open any query’s details.
- Query Profile. An operator-by-operator breakdown of a single query: where time went, how many partitions were pruned, and whether it spilled. Our Query Profile guide walks through how to read one.
- ACCOUNT_USAGE views. QUERY_HISTORY, WAREHOUSE_LOAD_HISTORY, WAREHOUSE_METERING_HISTORY, and QUERY_ATTRIBUTION_HISTORY hold a year of history you can query with SQL. Every query in this guide runs against them.
- Resource monitors. Track warehouse credit usage against a quota. At thresholds you choose, they can notify you, suspend warehouses after running statements finish, or suspend immediately.
- Budgets. Set a monthly spending limit for the account or a group of objects, and get notified when spend is projected to exceed it. Budgets also cover serverless features, which resource monitors don’t.
Resource monitors and budgets are guardrails on spend. They work best alongside performance monitoring: a quota tells you when credits cross a line, and the metrics below tell you which workloads drove it and what to change.
What Are the 5 Key Metrics for Monitoring Snowflake Performance?
| Metric | What It Tells You | Where Snowflake Records It | Watch for |
|---|---|---|---|
| Query latency | How long queries take, and whether time goes to compiling, queuing, or executing | QUERY_HISTORY: TOTAL_ELAPSED_TIME, COMPILATION_TIME, QUEUED_OVERLOAD_TIME, EXECUTION_TIME | p95 latency rising on a warehouse with steady volume |
| Warehouse load and queuing | Whether a warehouse has enough capacity for its concurrency | WAREHOUSE_LOAD_HISTORY: AVG_RUNNING, AVG_QUEUED_LOAD | Sustained queued load at the same hours each day |
| Spillage | Whether queries have enough memory for the data they process | QUERY_HISTORY: BYTES_SPILLED_TO_LOCAL_STORAGE, BYTES_SPILLED_TO_REMOTE_STORAGE | Any recurring remote spill |
| Pruning efficiency | How much of each table a query reads versus needs | QUERY_HISTORY: PARTITIONS_SCANNED, PARTITIONS_TOTAL | Frequent queries scanning most of a large table |
| Heavy-hitter queries and users | Which workloads use the most compute | QUERY_ATTRIBUTION_HISTORY: CREDITS_ATTRIBUTED_COMPUTE | A small set of query patterns driving most credits |
All time columns in QUERY_HISTORY are in milliseconds.
1. Query Latency (and Where the Time Goes)
Query latency (also called query execution time) in Snowflake is the time it takes for a query tQuery latency is the total time from submission to result. On its own it tells you a query is slow. Broken into parts, it tells you why.
- Compilation time is spent parsing and planning the query in Snowflake’s cloud services layer. It’s usually a small share of the total. When it’s large, look at very complex SQL or queries over tables with a very large number of partitions.
- Queued time is spent waiting for warehouse capacity. That’s a concurrency question, covered in metric #2.
- Execution time is spent doing the work. That’s where spillage and pruning (metrics #3 and #4) show up.
Track p50 and p95 latency by warehouse, alongside average compile, queued, and execution time. Averages alone hide the slow tail your users notice.
What to do when it moves: Read the breakdown before changing anything. A bigger warehouse helps when execution time is the problem and the query is memory- or compute-bound. It won’t fix a query that’s waiting in queue on a busy warehouse, or one that’s scanning far more data than it needs.
2. Warehouse Load and Queuing
WAREHOUSE_LOAD_HISTORY reports load in 5-minute intervals. Load is the total execution time of queries in a given state, divided by the length of the interval. AVG_RUNNING shows how busy the warehouse was. AVG_QUEUED_LOAD shows how much work waited because the warehouse was at capacity.
Low running load means the warehouse is often idle or oversized. Queued load means demand is outrunning capacity.
What to do when it moves: Queuing that shows up at the same hours every day is a concurrency pattern. A multi-cluster warehouse adds clusters for those peaks and removes them after. If one heavy job is crowding out interactive queries, separating it onto its own warehouse may be the better fix. Our post on Snowflake queue time goes deeper on both.
3. Spillage
When a query’s intermediate results don’t fit in memory, Snowflake writes them to local disk, and then to remote storage if local disk fills. The query still completes, but it runs slower. Spillage is the clearest signal Snowflake gives you that a query is under memory pressure.
Local spill in small amounts is normal. Recurring remote spill is worth fixing.
What to do when it moves: Snowflake’s guidance offers two paths: reduce the data each operation processes (better filters, fewer columns, smaller joins), or run the query on a larger warehouse with more memory. For queries that spill heavily, a size-up can finish fast enough to cost less overall. Our Snowflake spillage guide covers the trade-off in detail.
4. Pruning Efficiency
Snowflake stores tables in micro-partitions and keeps metadata on each one, so a query with a selective filter can skip partitions it doesn’t need. The ratio of PARTITIONS_SCANNED to PARTITIONS_TOTAL shows how well that’s working.
A query that scans most of a large table on every run is a candidate for a better filter or for clustering. While you’re there, PERCENTAGE_SCANNED_FROM_CACHE (a value from 0 to 1) shows how much a repeated query benefits from the warehouse cache.
Group by QUERY_PARAMETERIZED_HASH to see this per query pattern. It groups queries that differ only in literal values, so a dashboard query run with 500 different date filters counts as one pattern.
What to do when it moves: Check the filter first. Functions wrapped around filter columns, or filters on columns that don’t line up with how data was loaded, are common causes. If the access pattern is stable and the table is large, a clustering key can help. Weigh it against the ongoing cost of automatic clustering. Our post on Snowflake clustering keys covers when it pays off.
5. Heavy-Hitter Queries and Users
Account-level metrics tell you where to look. Heavy-hitter analysis tells you what to fix.
QUERY_ATTRIBUTION_HISTORY attributes warehouse compute credits to individual queries. Group credits by QUERY_PARAMETERIZED_HASH to see which query patterns drive the most compute, or by USER_NAME or QUERY_TAG to rank users and applications.
Three limits to know. Attributed credits exclude warehouse idle time, so per-query totals won’t add up to warehouse metering. Queries of roughly 100 ms or less aren’t included. And the view can lag by up to eight hours.
What to do when it moves: Often a handful of query patterns account for a large share of compute. A BI dashboard refreshing more often than anyone reads it, or a pipeline step reprocessing a full table each run, are common examples. Fixing the pattern at the source usually beats resizing the warehouse it runs on.
How Do You Monitor Snowflake Performance in Real Time?
ACCOUNT_USAGE views are built for history, not live response. Snowflake documents latency of up to 45 minutes for QUERY_HISTORY, up to 3 hours for WAREHOUSE_LOAD_HISTORY, and up to 8 hours for QUERY_ATTRIBUTION_HISTORY.
For activity in the last few minutes, use the INFORMATION_SCHEMA QUERY_HISTORY table function, which covers the last 7 days.
Seeing a spike as it happens is half the problem. The other half is acting on it. Say query load jumps at 3:07am and stays high until 3:21am. A daily review shows it to you the next morning, which is useful for finding the cause, but too late to adjust the warehouse while it’s happening.
From Monitoring to Optimization
The five metrics above tell you what to change. Keeping up with them is the hard part. Load shifts hour to hour, the right warehouse size at 9am is wrong at 2am, and the settings you tuned last quarter drift as workloads change. Making those adjustments by hand, around the clock, is difficult to sustain.
That’s the layer Keebo adds on top of Snowflake’s telemetry.
- Warehouse optimization. Keebo adjusts warehouse size, auto-suspend, and multi-cluster maximum cluster count continuously, based on live workload demand. It works from metadata, and it doesn’t rewrite or modify your queries.
- Performance guardrails you set. You define the SLAs Keebo works within. It monitors latency, queue time, and queue depth, upsizes when a threshold is breached, and backs off to protect performance. You can exclude any warehouse or workload.
- Workload Intelligence. Keebo analyzes your queries, warehouses, data, and storage, and ranks the inefficiencies worth fixing by cost and performance impact. It recommends; your team decides what to implement.
FAQs
What Are the Most Important Snowflake Performance Metrics?
Query latency (split into compile, queue, and execution time), warehouse load and queuing, spillage, pruning efficiency, and compute credits by query and user. Snowflake records all five in its ACCOUNT_USAGE views.
How Do I Monitor User Activity in Snowflake?
Start with Query History in Snowsight, filtered by user. For an account-wide view, query QUERY_ATTRIBUTION_HISTORY and group compute credits by user_name. Remember that attributed credits exclude warehouse idle time.
How Do You Measure Warehouse Performance in Snowflake?
Use WAREHOUSE_LOAD_HISTORY for running and queued load in 5-minute intervals, QUERY_HISTORY for latency and spillage on the queries each warehouse runs, and WAREHOUSE_METERING_HISTORY for credits used over time.
What Is a KPI in Snowflake?
A KPI (key performance indicator) is a metric you track over time to judge whether Snowflake is meeting your goals. Common Snowflake KPIs include p95 query latency per warehouse, queued load, remote spill volume, and compute credits per workload.
Do Snowflake Resource Monitors Track Query Performance?
No. Resource monitors track warehouse credit usage against a quota and can notify or suspend warehouses at thresholds you set. They don’t cover serverless features (use budgets for those), and they don’t measure latency. Pair them with the performance metrics above.
Why Don’t My Per-Query Credits Add Up to My Warehouse Bill?
QUERY_ATTRIBUTION_HISTORY excludes warehouse idle time and queries of roughly 100 ms or less. WAREHOUSE_METERING_HISTORY reports everything the warehouse consumed. The gap between them is a useful measure of idle time.



