CertSafari
    Snowflake SnowPro Core Certification (COF-C03)· Lessons

    Domain 1 · Lesson 4/19

    Snowflake virtual warehouses: types, sizing, scaling and auto-suspend

    Configure virtual warehouses

    20 min read
    5.17% of exam
    5 sources
    Published 20 Oct 2026
    Docs as of 18 Oct 2026

    What you will be able to do

    • Choose between a Gen1 standard, a Gen2 standard and a Snowpark-optimized warehouse for a workload
    • Work out how a change of T-shirt size affects credits per hour and when a resize takes effect
    • Set auto-suspend and auto-resume around the billing minimum of 60 seconds per resume
    • Configure a multi-cluster warehouse in maximized or auto-scale mode and explain what the Standard scaling policy does
    • Decide whether to scale up or scale out, and pick a configuration for ad-hoc, loading, BI, concurrent and complex workloads
    • Set a standard warehouse to Gen 1 or Gen 2 with the GENERATION clause, and know which sizes each generation supports

    Key concept

    Size versus cluster count — A warehouse's size sets how much compute each cluster has, which makes individual queries faster. Its cluster count sets how many clusters work side by side, which lets more queries run at the same time. Scaling up changes the first, and scaling out changes the second.

    1.What a warehouse is and how its size sets the price

    A virtual warehouse is the compute that runs your work. Every query needs one, and so does every DML statement, including loading data into tables. Three things define a warehouse: its type (standard or Snowpark-optimized), its size, and properties such as auto-suspend that control when it runs. You can start, stop and resize a warehouse at any time, even while it is running.

    Sizes follow a T-shirt scale, and each step up doubles both the compute and the credits per hour. An X-Small costs 1 credit per hour and a 6X-Large costs 512. The figures below are for first-generation (Gen 1) standard warehouses. Gen 2 credit rates are published separately in the Snowflake Service Consumption Table.

    Gen1 standard warehouse sizes and credits per full hour of running
    Warehouse sizeCredits / hour (Gen1)
    X-Small1
    Small2
    Medium4
    Large8
    X-Large16
    2X-Large32
    3X-Large64
    4X-Large128
    5X-Large256
    6X-Large512

    Generation is a setting on a standard warehouse, not a separate warehouse type. Gen 1 is Snowflake's original standard warehouse; Gen 2 is the next generation of the same type. You pick one with GENERATION = '1' or GENERATION = '2' in CREATE WAREHOUSE or ALTER WAREHOUSE, or with the equivalent RESOURCE_CONSTRAINT values STANDARD_GEN_1 and STANDARD_GEN_2. The choice limits the sizes on offer: a Gen 1 warehouse goes all the way to 6X-Large, while Gen 2 stops at 4X-Large. A team that needs a 5X-Large standard warehouse must therefore run it as Gen 1. Snowsight doesn't offer the generation setting yet, so it is set in SQL.

    Billing is per second, so a bigger warehouse is not automatically a more expensive one. What you pay is the hourly rate multiplied by the time the warehouse runs. For larger, more complex queries, run time tends to scale linearly with size. Suppose a query takes 20 minutes on a Medium (4 credits/hour). That is about 1.33 credits. If the same query takes 10 minutes on a Large (8 credits/hour), it still costs about 1.33 credits, and the result arrives in half the time. This only works when the query really does speed up. The full billing arithmetic is in Calculating warehouse credit usage. For choosing a size, the point is simple: don't rule out a larger warehouse just because its hourly rate is higher. Per-second billing lets you run a large warehouse and suspend it when the work is done.

    Checkpoint 1 of 9· Check yourself

    A large, complex query takes 60 minutes on an X-Small warehouse. Moved to a Small warehouse, the same query finishes in 30 minutes. Compared with the X-Small run, what does the Small run cost?

    Sources123

    2.Standard Gen1, standard Gen2 and Snowpark-optimized warehouses

    Standard warehouses come in two generations. Gen2 is the newer generation. It runs on faster hardware and adds software optimizations, notably for DELETE, UPDATE and MERGE operations and for table scans. Most queries finish faster on Gen2, but how much faster depends on the workload, so test it on your own queries. If you create a standard warehouse without specifying a generation, Snowflake makes it Gen2, unless Gen2 isn't available in your region. Gen2 is not offered at the 5X-Large or 6X-Large sizes.

    Creating a Gen2 standard warehouse with the recommended GENERATION clausesql
    CREATE OR REPLACE WAREHOUSE next_generation_size_small
      GENERATION = '2'
      WAREHOUSE_SIZE = SMALL;

    You can switch a standard warehouse between generations with ALTER WAREHOUSE, whether it is running or suspended. Each choice has a cost. If you convert a running Gen1 warehouse, queries already in flight finish on the Gen1 resources while new queries start on Gen2. Until the old queries complete, you pay for both sets of resources. Convert while running when availability matters most. Convert while suspended when cost matters most.

    A Snowpark-optimized warehouse is a different type, built for memory-hungry code rather than for ordinary SQL. By default it gives 16x the memory per node of a standard warehouse. The typical use is ML training in a stored procedure on a single node. Snowpark UDFs and UDTFs can also benefit. Workloads that don't use Snowpark might not gain anything from it. It also takes longer to create and to resume than a standard warehouse. The RESOURCE_CONSTRAINT property sets how much memory it gets, and larger memory options require a larger minimum size.

    Snowpark-optimized memory options and the minimum warehouse size each needs
    Memory (up to)RESOURCE_CONSTRAINT valuesMinimum warehouse size
    16GBMEMORY_1X, MEMORY_1X_x86XSMALL
    256GBMEMORY_16X, MEMORY_16X_x86 (MEMORY_16X is the default)M
    1TBMEMORY_64X, MEMORY_64X_x86L
    A Large Snowpark-optimized warehouse with 256 GB of memory on x86sql
    CREATE WAREHOUSE so_warehouse WITH
      WAREHOUSE_SIZE = 'LARGE'
      WAREHOUSE_TYPE = 'SNOWPARK-OPTIMIZED'
      RESOURCE_CONSTRAINT = 'MEMORY_16X_X86';

    Notebooks get their own warehouse. Every account is provisioned with SYSTEM$STREAMLIT_NOTEBOOK_WH, a multi-cluster X-Small warehouse that is meant only for notebook Python code. For better bin-packing, Snowflake recommends sending SQL queries from notebooks to a separate warehouse that you manage. This default warehouse for Notebooks is a feature that is not yet globally GA, and it will not be tested until it is globally GA.

    Checkpoint 2 of 9· Fill the gap

    An ML team needs a Large Snowpark-optimized warehouse with up to 256 GB of memory per node, running on x86 CPUs. Which RESOURCE_CONSTRAINT value completes this statement?

    CREATE WAREHOUSE so_warehouse WITH
      WAREHOUSE_SIZE = 'LARGE'
      WAREHOUSE_TYPE = 'SNOWPARK-OPTIMIZED'
      RESOURCE_CONSTRAINT = ' ? ';

    Sources2413

    3.Resizing: when a bigger warehouse helps and when it doesn't

    Scaling up only helps queries that start after the resize. Once the larger warehouse is fully provisioned, its extra compute goes to queued and newly submitted queries. A query already running keeps its original resources. Billing for the extra compute begins when it is provisioned. So if a query is slow, resizing helps the next run of it, not the current one.

    A bigger warehouse speeds up large, complex queries. It does little for small ones. Table size, the number of joins and how well predicates filter the data all determine how much work a query needs. Small, simple queries usually don't benefit from an X-Large or larger warehouse, no matter how many run at once. To find the right size, run representative queries that take 5 to 10 minutes against several sizes and compare the results. The same flexibility works in the other direction: you can reduce the size at any time. A nightly job whose data volume has shrunk should move to a smaller warehouse rather than keep its old size.

    Data loading follows a different rule. Load speed depends more on the number and size of the files than on the warehouse size. A larger warehouse adds capacity to process more files in parallel. Loading a handful of large files leaves most of that capacity idle. Unless you are loading hundreds or thousands of files concurrently, a Small, Medium or Large warehouse is generally enough. Going bigger burns more credits and may not make the load any faster.

    Checkpoint 3 of 9· Check yourself

    Every night, a COPY INTO job loads four large files on a Medium warehouse and takes about 40 minutes. An engineer wants to move the job to a 2X-Large warehouse to shorten the load. What is the most accurate assessment?

    Checkpoint 4 of 9· Exam question

    A data engineering team routinely loads a handful of large files per batch using COPY INTO and wants to reduce load times. They are considering resizing their warehouse from Small to X-Large. What should they know before doing so?

    Sources13

    4.Auto-suspend, auto-resume and the 60-second minimum

    Auto-suspend and auto-resume are both on by default, and together they mean you pay only while work is happening. Auto-suspend stops the warehouse after a period of inactivity that you choose. Auto-resume starts it again when a statement needs it and it is the session's current warehouse. On a multi-cluster warehouse, both settings apply to the warehouse as a whole, not to individual clusters. The warehouse suspends only when it is down to its minimum number of clusters and has been idle for the full period. It resumes only from a fully suspended state.

    Every time a warehouse starts, you pay for at least 60 seconds. After that first minute, billing is per second until the warehouse shuts down. Stopping a warehouse inside its first minute saves nothing, because that minute is already billed.

    Set auto-suspend low, but not shorter than the usual gap between queries. A value of 5 or 10 minutes or less keeps an idle warehouse from burning credits. Now suppose queries arrive every 2 to 3 minutes and auto-suspend is set to 1 minute. The warehouse keeps suspending and resuming, and each resume costs another 60-second minimum. When the gaps are longer than the suspend window, a very short setting is the cheapest choice. Analysts who pause 5 to 15 minutes between exploratory queries are a good example. A small warehouse that suspends after about a minute stops billing during each pause and resumes when the next query comes in.

    Suspending also has a performance cost: it drops the warehouse's data cache. A running warehouse caches the table data it reads, and that cache grows with the warehouse size. After a resume, the first queries read from storage again until the cache rebuilds. Disabling auto-suspend makes sense in two cases: the warehouse has a heavy, steady workload, or it must be available with no delay at all. Provisioning is usually fast, often 1 or 2 seconds, but larger sizes can take longer.

    Checkpoint 5 of 9· Check yourself

    A BI reporting warehouse receives dashboard queries steadily, about every 2 to 3 minutes during business hours. To save credits, an administrator sets auto-suspend to 1 minute and leaves auto-resume on. What is the most likely result?

    Checkpoint 6 of 9· Exam question

    A team of business analysts runs unpredictable, exploratory SQL queries throughout the day, with idle gaps of 5-15 minutes between queries. Which warehouse configuration best fits this ad-hoc workload while minimizing wasted credit spend?

    Sources13

    5.Multi-cluster warehouses and scaling policies

    A multi-cluster warehouse adds whole clusters of the same size so that more queries can run at once. It is an Enterprise Edition feature. A single-cluster warehouse queues queries once its resources are used up. A multi-cluster warehouse can add clusters instead. You define it with a minimum and a maximum number of clusters (MIN_CLUSTER_COUNT and MAX_CLUSTER_COUNT), and the maximum must be greater than 1. The largest allowed maximum shrinks as the size grows: 300 clusters for X-Small through Medium, 160 for Large, 80 for X-Large, and down to 10 for 4X-Large and above.

    The two modes of a multi-cluster warehouse
    ModeHow it is setBehaviourFits
    MaximizedMinimum = maximum (greater than 1)All clusters start when the warehouse starts and run while it runsLarge, steady concurrency that doesn't fluctuate much
    Auto-scaleMaximum greater than minimumClusters start as queries queue and shut down as load fallsConcurrency that rises and falls, such as peak and off hours

    In auto-scale mode, the scaling policy decides how quickly Snowflake adds clusters. The policy can favour responsiveness and throughput, or it can favour lower cost. Standard is the default. It avoids queuing by starting clusters rather than saving credits. As soon as a query queues, or Snowflake estimates that the running clusters can't take any more queries, it adds capacity. With a MAX_CLUSTER_COUNT of 10 or less it starts one cluster at a time. Above 10 it starts several at once to handle sudden spikes. Economy puts cost first by keeping the running clusters fully loaded rather than starting more. It starts a new cluster only if Snowflake estimates there is enough query load to keep that cluster busy for at least 6 minutes. It marks the least-loaded cluster for shutdown once that cluster has less than 6 minutes of work left, and the cluster shuts down after its running queries finish. The price is that queries may queue and take longer to complete, so Economy suits workloads that can tolerate some waiting, and Standard suits those where queuing is unacceptable. In maximized mode the scaling policy has no effect, because every cluster is always running.

    Cost scales with the clusters that actually run. The maximum hourly cost of a Medium (4 credits/hour) warehouse with 3 clusters is 12 credits, and you pay that only when all three clusters run for the whole hour. In auto-scale mode, an hour where only one cluster runs costs 4 credits. Resizing a multi-cluster warehouse changes every cluster, including the ones already running. Snowflake suggests starting in auto-scale mode with a small range, for example minimum 1 and maximum 2 or 3. Raise the limits once you have seen how your concurrency actually moves.

    Checkpoint 7 of 9· Check yourself

    To save credits during quiet periods, an administrator configures a multi-cluster warehouse with MIN_CLUSTER_COUNT = 4, MAX_CLUSTER_COUNT = 4 and SCALING_POLICY = 'ECONOMY'. What happens while the warehouse is running?

    Checkpoint 8 of 9· Exam question

    A BI team's Snowsight dashboards are used by 150 people during the 9am refresh window, causing queries to queue on a single-cluster Large warehouse. Which change directly addresses the queuing without changing query complexity?

    Sources51

    6.Scale up or scale out, and a warehouse per workload

    The rule is this. Make the warehouse bigger when individual queries are large or complex. Add clusters when many users run queries at the same time. Resizing can absorb a little extra concurrency, but its main purpose is to make queries faster. Multi-cluster warehouses do little for slow-running queries or for data loading. The two fixes solve different problems. For example, 150 dashboard users queuing at 9 a.m. need more clusters. A longer auto-suspend would not help them, and neither would a larger single cluster or a Snowpark-optimized type.

    Separate workloads into their own warehouses. Queries of similar complexity and data sets belong together on one warehouse. When widely different queries share a warehouse, it becomes hard to analyse the load and to choose a size that fits. Separate warehouses let you set the size, cluster count and auto-suspend for each workload independently. A nightly transformation job with large joins and a web app's quick lookups should each get their own warehouse, and so should different teams. If queries still queue more than you want, create another warehouse and redirect some of the work to it. How queuing is diagnosed is covered in Queuing and grouping similar workloads.

    Starting configurations by workload
    WorkloadSizeClustersAuto-suspend
    Ad-hoc / exploratory queriesX-Small, Small or Medium for small, simple queriesSingle clusterLow, but not shorter than the usual gap between queries
    Data loadingSmall, Medium or Large unless loading hundreds or thousands of files concurrentlyScale up, not out: multi-cluster does little for loadingLow; suspend once the load finishes
    BI and reporting with many concurrent usersMatched to dashboard query complexityMulti-cluster, auto-scale, Standard policy for burstsWeigh the credit savings against keeping the cache warm
    Complex transformations and large joinsLarger (Large, X-Large, 2X-Large); test multiple sizesSingle cluster unless concurrency also growsLow; per-second billing makes a large warehouse cheap to suspend
    Snowpark ML training / memory-heavy codeSnowpark-optimized, with RESOURCE_CONSTRAINT for memoryPer workloadAllow for slower resumes
    Different teamsSized to each team's queriesPer teamPer team's query pattern

    Checkpoint 9 of 9· Match them up

    Match each workload to the warehouse configuration that best fits it.

    Tap a term, then the definition that fits it.

    Sources153

    Sources

    (5)

    Every claim above is drawn from one of these pages, quoted as it was written on the date shown.

    1. 1.
      “Warehouses are required for queries, as well as all DML operations, including loading data into tables.”
      ↩︎ What a warehouse is and how its size sets the price
      “there is a doubling of credit usage as you increase in size to the next larger warehouse size”
      ↩︎ What a warehouse is and how its size sets the price
      “The numbers in the preceding table refer to the first generation (Gen1) of Snowflake standard warehouses.”
      ↩︎ What a warehouse is and how its size sets the price
      “Snowflake recommends using the SYSTEM$STREAMLIT_NOTEBOOK_WH warehouse exclusively for notebook workloads.”
      ↩︎ Standard Gen1, standard Gen2 and Snowpark-optimized warehouses
      “The additional resources do not impact any queries that are already running”
      ↩︎ Resizing: when a bigger warehouse helps and when it doesn't
      “Larger is not necessarily faster for small, basic queries.”
      ↩︎ Resizing: when a bigger warehouse helps and when it doesn't
      “a smaller warehouse (Small, Medium, Large) is generally sufficient”
      ↩︎ Resizing: when a bigger warehouse helps and when it doesn't
      “Increasing the size of a warehouse does not always improve data loading performance.”
      ↩︎ Resizing: when a bigger warehouse helps and when it doesn't
      “Auto-suspend only occurs when the minimum number of clusters is running and there is no activity for the specified period of time.”
      ↩︎ Auto-suspend, auto-resume and the 60-second minimum
      “Multi-cluster warehouses are an Enterprise Edition feature.”
      ↩︎ Multi-cluster warehouses and scaling policies
      “warehouse resizing is primarily intended for improving query performance”
      ↩︎ Scale up or scale out, and a warehouse per workload
      “another warehouse can be created and queries can be manually redirected to the new warehouse”
      ↩︎ Scale up or scale out, and a warehouse per workload
      “Size specifies the amount of compute resources available per cluster in a warehouse.”
      ↩︎ Key concept
      “The additional resources do not impact any queries that are already running”
      ↩︎ Exam trap 1
      “influenced more by the number of files being loaded (and the size of each file) than the size of the warehouse”
      ↩︎ Exam trap 2
      “Data loading performance is influenced more by the number of files being loaded (and the size of each file) than the size of the warehouse.”
      ↩︎ Checkpoint
    2. 2.
      “GENERATION = '1' represents Snowflake’s original, industry-leading standard virtual warehouses.”
      ↩︎ What a warehouse is and how its size sets the price
      “GENERATION = '2' represents the next generation of Snowflake’s standard virtual warehouses.”
      ↩︎ What a warehouse is and how its size sets the price
      “Generation 2 standard warehouses aren’t available for warehouse sizes X5LARGE and X6LARGE.”
      ↩︎ What a warehouse is and how its size sets the price
      “Currently, the GENERATION clause and the STANDARD_GEN_1 and STANDARD_GEN_2 values aren’t available in Snowsight.”
      ↩︎ What a warehouse is and how its size sets the price
      “Gen2 is built on top of faster underlying hardware and intelligent software optimizations, such as enhancements to delete, update, and merge operations”
      ↩︎ Standard Gen1, standard Gen2 and Snowpark-optimized warehouses
      “Snowflake defaults to GENERATION = '2' (Gen2), unless Gen2 isn’t available in your region”
      ↩︎ Standard Gen1, standard Gen2 and Snowpark-optimized warehouses
      “Generation 2 standard warehouses aren’t available for warehouse sizes X5LARGE and X6LARGE.”
      ↩︎ Standard Gen1, standard Gen2 and Snowpark-optimized warehouses
      “While the existing queries are running, you are charged for both sets of compute resources.”
      ↩︎ Standard Gen1, standard Gen2 and Snowpark-optimized warehouses
      “Generation 2 standard warehouses aren’t available for warehouse sizes X5LARGE and X6LARGE.”
      ↩︎ Exam trap 5
    3. 3.
      “Snowflake utilizes per-second billing, so you can run larger warehouses (Large, X-Large, 2X-Large, etc.) and simply suspend them when not in use.”
      ↩︎ What a warehouse is and how its size sets the price
      “For the most part, queries scale linearly with respect to warehouse size, particularly for larger, more complex queries.”
      ↩︎ What a warehouse is and how its size sets the price
      “Each account is provisioned with the SYSTEM$STREAMLIT_NOTEBOOK_WH warehouse that is specifically designed to run Notebook Python code.”
      ↩︎ Standard Gen1, standard Gen2 and Snowpark-optimized warehouses
      “You can decrease the size of a warehouse at any time.”
      ↩︎ Resizing: when a bigger warehouse helps and when it doesn't
      “each time it resumes, you are billed for the minimum credit usage (that is, 60 seconds)”
      ↩︎ Auto-suspend, auto-resume and the 60-second minimum
      “This cache is dropped when the warehouse is suspended”
      ↩︎ Auto-suspend, auto-resume and the 60-second minimum
      “You have a heavy, steady workload for the warehouse.”
      ↩︎ Auto-suspend, auto-resume and the 60-second minimum
      “try to execute relatively homogeneous queries (complexity, data sets, etc.) on the same warehouse”
      ↩︎ Scale up or scale out, and a warehouse per workload
      “it is billed for 121 seconds (60 + 1 + 60)”
      ↩︎ Prediction
      “it doesn’t make sense to set auto-suspend to 1 or 2 minutes because your warehouse will be in a continual state of suspending and resuming”
      ↩︎ Checkpoint
    4. 4.
      “The default configuration for a Snowpark-optimized warehouse provides 16x memory per node compared to a standard warehouse.”
      ↩︎ Standard Gen1, standard Gen2 and Snowpark-optimized warehouses
      “Workloads that don’t use Snowpark might not benefit from running on Snowpark-optimized warehouses.”
      ↩︎ Standard Gen1, standard Gen2 and Snowpark-optimized warehouses
      “Initial creation and resumption of a Snowpark-optimized virtual warehouse might take longer than standard warehouses.”
      ↩︎ Standard Gen1, standard Gen2 and Snowpark-optimized warehouses
    5. 5.
      “This mode is enabled by specifying the same value for both maximum and minimum number of clusters”
      ↩︎ Multi-cluster warehouses and scaling policies
      “prioritize responsiveness and throughput for the queries in that warehouse, or to minimize costs for that warehouse”
      ↩︎ Multi-cluster warehouses and scaling policies
      “Prevents/minimizes queuing by favoring starting additional clusters over conserving credits.”
      ↩︎ Multi-cluster warehouses and scaling policies
      “For warehouses with a MAX_CLUSTER_COUNT of 10 or less, Snowflake starts one additional cluster.”
      ↩︎ Multi-cluster warehouses and scaling policies
      “Conserves credits by favoring keeping running clusters fully-loaded rather than starting additional clusters”
      ↩︎ Multi-cluster warehouses and scaling policies
      “Only if the system estimates there’s enough query load to keep the cluster busy for at least 6 minutes.”
      ↩︎ Multi-cluster warehouses and scaling policies
      “Snowflake marks the least-loaded cluster for shutdown if it estimates the cluster has less than 6 minutes of work left to do.”
      ↩︎ Multi-cluster warehouses and scaling policies
      “the maximum number of credits consumed per hour for a Medium-size multi-cluster warehouse with 3 clusters is 12 credits”
      ↩︎ Multi-cluster warehouses and scaling policies
      “If a multi-cluster warehouse is resized, the new size applies to all the clusters for the warehouse”
      ↩︎ Multi-cluster warehouses and scaling policies
      “They are not as beneficial for improving the performance of slow-running queries or data loading.”
      ↩︎ Scale up or scale out, and a warehouse per workload
      “The scaling policy for a multi-cluster warehouse only applies if it is running in Auto-scale mode.”
      ↩︎ Exam trap 3
      “They are not as beneficial for improving the performance of slow-running queries or data loading.”
      ↩︎ Exam trap 4
      “when the warehouse is started, Snowflake starts all the clusters so that maximum resources are available while the warehouse is running.”
      ↩︎ Checkpoint
      “Multi-cluster warehouses are best utilized for scaling resources to improve concurrency for users/queries.”
      ↩︎ Checkpoint

    Ready to test yourself?

    Practise the 21 questions on this subdomain.

    Spotted a mistake, or was something unclear? Tell us.