A dashboard runs in under a second on Monday. By Friday the same dashboard takes forty seconds and the warehouse is awake all day. Nobody changed the query, nobody changed the data volume much, and the bill went up anyway.
The usual diagnosis is "we need a bigger warehouse". Often the real answer is that the query stopped being eligible for the result cache, and every refresh now does real work.
Three caches, and only one of them survives a suspend
Snowflake has more than one cache, and conflating them is where the reasoning goes wrong.
The result cache holds the results of previous queries. When an identical query arrives and the data has not changed, Snowflake returns the stored result — without starting the warehouse at all. That last part is the one people find surprising: a suspended warehouse can still answer a dashboard instantly, because no compute is involved.
The warehouse (local disk) cache lives on the running warehouse local storage. It dies when the warehouse suspends, which is why the first queries after a resume are slower — they read from remote storage again.
Metadata can answer some things on its own, such as COUNT(*), with no warehouse. It cannot answer a full dashboard query.
So if your dashboard got slow and your warehouse is now always running, suspect result-cache eligibility first, not warehouse size.
What disqualifies a query
A persisted result is reused only when three things hold:
- The query text matches.
- The underlying data has not changed.
- No function in the query must be evaluated at execution time.
Condition three is the one that bites, and it usually arrives in an innocent-looking column:
SELECT region, SUM(amount) AS revenue, CURRENT_TIMESTAMP() AS generated_at FROM sales.daily_orders GROUP BY region; CURRENT_TIMESTAMP() has to be evaluated on every run, so the result can never be reused. One "when was this refreshed?" column, added by a well-meaning analyst, turns a free cached read into a full warehouse execution — every single refresh, for every viewer.
The fix is not to remove the timestamp. It is to stop asking the database for it:
SELECT region, SUM(amount) AS revenue FROM sales.daily_orders GROUP BY region; Let the BI tool stamp the refresh time. It knows when it ran the query; Snowflake does not need to tell it.
Worth clearing up two things people assume block reuse and do not: GROUP BY queries cache like any other, and deterministic aggregates such as SUM are fine. It is specifically functions that must be evaluated at execution time.
Where the money actually goes
Once the result cache is out of the picture, two costs compound. The warehouse now has to resume and stay awake to serve refreshes, so you pay compute for work whose answer has not changed. And because the local disk cache is cold on each resume, those first queries read from remote storage and run slower than the steady-state ones everyone benchmarked.
The diagnosis takes a minute in the Query Profile: look at partitions scanned versus total, and bytes spilled to local and remote storage. A query serving from the result cache does not appear as work at all. One that should be cached and is not shows up as a full scan, repeatedly, at the same time every day.
Before resizing anything, read the SELECT list and ask which columns force execution.
Documented in Using persisted query results and Analyzing queries using Query Profile.
I write SnowPro Core practice scenarios for a living. This exact case is one of ten free diagnostic questions, no sign-up: https://gyanagent.in/exams/snowpro-core