Result Caching: Query, Metadata & Warehouse Caches
Leverage Snowflake's multi-layer caching to reduce cost and latency on repeated queries.
Snowflake employs several distinct caching layers, and understanding the difference is a common interview distinction point. The result cache stores the complete result of a query for 24 hours (extendable up to 31 days with reuse); if an identical query (same SQL text, same session context, and unchanged underlying data) is submitted again, Snowflake returns the cached result instantly with zero compute cost — no warehouse even needs to be running.
The result cache is like getting the exact same photocopy handed back instantly because someone already made that exact copy today; the metadata cache is like being told a book's page count from its catalog entry without opening it; the warehouse cache is like a librarian who remembers where the books were on the cart from your last visit, but forgets once they go home for the day.