Snowflake Data Cloud is a cloud-native data platform that separates storage and compute, enabling elastic scaling for analytics, data engineering, and AI workloads across AWS, Azure, and Google Cloud. Unlike traditional databases, Snowflake's micro-partition architecture automatically organizes data for optimal pruning, while features like Time Travel, Zero-Copy Cloning, and Secure Data Sharing redefine collaboration and recovery. Its serverless model β from Snowpipe ingestion to Cortex AI functions β eliminates infrastructure management, making Snowflake a unified platform for warehousing, data lakes, and streaming.
What This Cheat Sheet Covers
This topic spans 25 focused tables and 132 indexed concepts, 122 flashcards. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.
A jump-to index of every table row in this cheat sheet.
An interactive map of every table and concept in this topic.
Table 1: Virtual Warehouse Configuration
A virtual warehouse is the compute that actually runs your queries, and almost every cost decision in Snowflake starts here. These parameters control how much horsepower a warehouse has, how it scales out under concurrency, and β crucially β how quickly it suspends itself when idle, which is the single biggest lever you have on the credit bill.
| Parameter | Example | Description | |
|---|---|---|---|
CREATE WAREHOUSE wh_medium WAREHOUSE_SIZE = 'MEDIUM'; | β’ Defines compute capacity: X-Small to 6X-Large β each size doubles credits/hour and parallelism β’ choose based on query complexity and concurrency | ||
ALTER WAREHOUSE wh SET MIN_CLUSTER_COUNT = 2 MAX_CLUSTER_COUNT = 8; | β’ Scales horizontally by adding clusters for concurrent queries β’ MIN/MAX define scaling boundaries β’ AUTO_SUSPEND handles idle clusters | ||
ALTER WAREHOUSE wh SET SCALING_POLICY = 'ECONOMY'; | β’ STANDARD starts clusters immediately β’ ECONOMY favors queuing to minimize cost β choose based on latency vs. budget priority | ||
CREATE WAREHOUSE wh AUTO_SUSPEND = 60; | β’ Suspends warehouse after N seconds of inactivity β critical for cost control β’ 60s is aggressive, 600s balances cache retention | ||
CREATE WAREHOUSE wh AUTO_RESUME = TRUE; | β’ Automatically starts warehouse when query submitted β enabled by default β’ disable for manual control scenarios | ||
ALTER WAREHOUSE wh SET STATEMENT_TIMEOUT_IN_SECONDS = 3600; | β’ Kills queries exceeding time limit β prevents runaway resource consumption β’ set per warehouse or session | ||
ALTER WAREHOUSE wh SET STATEMENT_QUEUED_TIMEOUT_IN_SECONDS = 1800; | Cancels queries waiting in queue beyond threshold β useful when multi-cluster MAX reached and new queries pile up. |