Snowflake Data Cloud (50 Qs)•Part 2: Security, Governance, Performance & Sharing (11 - 24)
Explain the three caching layers in Snowflake and their invalidation rules?
mid LevelMost AskedFormsPerformanceSecurity & Auth
In Simple Words:
- Result Cache (Cloud Services): Holds exact query results for 24 hours. If an identical query runs and underlying data hasn't changed, results return in milliseconds with zero compute warehouse cost!
- Local Disk Cache (Virtual Warehouse): Local NVMe SSD storage caching micro-partitions downloaded during query execution.
- Metadata Cache (Cloud Services): Contains table statistics and partition min/max metadata.