
Configure intelligent auto-scaling policies to automatically adjust resources based on demand without overspending on unused capacity.

Configure intelligent auto-scaling policies to automatically adjust resources based on demand without overspending on unused capacity.
Auto-scaling adjusts warehouse size based on workload automatically, but improper configuration can lead to unnecessary costs.
CREATE WAREHOUSE auto_scale_wh WITH
WAREHOUSE_SIZE = 'SMALL' -- Start small
AUTO_SUSPEND = 60
AUTO_RESUME = TRUE
MIN_CLUSTER_COUNT = 1
MAX_CLUSTER_COUNT = 4
SCALING_POLICY = 'ECONOMY'; -- Conservative scaling
SELECT
WAREHOUSE_NAME,
AVG(AVG_RUNNING) as AVG_QUERIES,
MAX(AVG_RUNNING) as PEAK_QUERIES,
AVG(AVG_QUEUED_LOAD) as AVG_QUEUED
FROM SNOWFLAKE.ACCOUNT_USAGE.WAREHOUSE_LOAD_HISTORY
WHERE START_TIME >= DATEADD(day, -7, CURRENT_TIMESTAMP())
GROUP BY 1;
Uncover hidden inefficiencies and start reducing Snowflake spend in minutes no disruption, no risk.