Complete the code to create a warehouse with the smallest size.
CREATE WAREHOUSE my_wh WITH WAREHOUSE_SIZE = '[1]';
The smallest warehouse size in Snowflake is X-SMALL. It uses the least compute resources.
Complete the code to set the warehouse to auto-scale between 1 and 3 clusters.
ALTER WAREHOUSE my_wh SET MIN_CLUSTER_COUNT = 1, MAX_CLUSTER_COUNT = [1];
Setting MAX_CLUSTER_COUNT to 3 allows the warehouse to scale up to 3 clusters automatically.
Fix the error in the code to enable multi-cluster scaling.
ALTER WAREHOUSE my_wh SET SCALING_POLICY = '[1]';
The correct value to enable multi-cluster scaling is STANDARD. Other values are invalid.
Fill both blanks to create a warehouse that auto-suspends after 5 minutes and resumes automatically.
CREATE WAREHOUSE my_wh WITH AUTO_SUSPEND = [1], AUTO_RESUME = [2];
Auto-suspend time is set in seconds, so 300 means 5 minutes. Auto-resume must be TRUE to resume automatically.
Fill all three blanks to create a warehouse with size LARGE, max 4 clusters, and auto-suspend after 10 minutes.
CREATE WAREHOUSE my_wh WITH WAREHOUSE_SIZE = '[1]', MAX_CLUSTER_COUNT = [2], AUTO_SUSPEND = [3];
The warehouse size is LARGE, max clusters set to 4, and auto-suspend time is 600 seconds (10 minutes).