Module 02 · Lesson 6 of 9Detailed study · about 25 min

Scaling up, scaling out and multi-cluster warehouses

Scale up adds capacity per cluster. Scale out adds clusters for concurrent demand.

Understand the idea

Resizing a standard warehouse changes the compute capacity of its cluster or clusters. A query with a large join or substantial aggregation may benefit from more resources if that is its bottleneck.

Key ideas in simple English
ConceptWhat it means
Scale upInvestigate for a resource-heavy query after examining its profile.
Scale outInvestigate when many queries compete for capacity.
Multi-clusterMinimum/maximum settings bound the active cluster count.
AvailabilityEnterprise Edition or higher; scaling settings depend on warehouse type.

A concrete example

One slow query needs execution diagnosis. Twenty queries waiting together suggest a concurrency investigation.

Remember: A maximum of three clusters permits growth to three; it does not mean three are always running.

Explain it step by step · full theory

Scaling up changes the capacity of a cluster

Resizing a standard warehouse changes the compute capacity of its cluster or clusters. A query with a large join or substantial aggregation may benefit from more resources if that is its bottleneck.

The improvement depends on parallelism, scan behavior, memory requirements and other limits. Doubling a nominal size does not guarantee half the elapsed time. Inspect the query and compare equivalent runs with controlled cache and workload conditions.

Scaling out adds clusters for concurrent demand

A multi-cluster warehouse can use multiple compute clusters under one warehouse object. Additional clusters serve concurrent workload demand. Its minimum and maximum cluster settings define the permitted range.

This is particularly useful when many otherwise reasonable queries arrive together. A single query generally executes on one cluster rather than combining all warehouse clusters into one larger cluster. Increasing size and increasing cluster count therefore address different capacity dimensions.

Understand auto-scale and scaling policy

For an auto-scaling multi-cluster warehouse, different minimum and maximum values let Snowflake adjust the active count within the range. Equal values configure a fixed multi-cluster count when running. Standard and Economy policies trade responsiveness against cluster utilization for supported standard warehouses.

Multi-cluster warehouses require Enterprise Edition or higher. A configured maximum of three means capacity can grow up to three, not that three clusters are always active. Every active cluster contributes to consumption according to its configuration and running time.

Work through two morning problems

At 08:00 one transformation is slow even when run alone. Inspect its profile, row counts and resource pressure, then evaluate a size change if the evidence points there. At 09:00 twenty dashboard requests arrive and spend most of their time waiting. Inspect warehouse load and concurrency, then consider scale-out or workload isolation.

Capture both execution time and queue time in the comparison. A change that lowers queueing may help users even if individual query execution remains similar.

Words used in this lesson
Scale up
Increase compute capacity per cluster.
Scale out
Increase the number of clusters serving demand.
Scaling policy
A rule influencing when multi-cluster capacity changes.

See how it works

Choose a step to explore the idea at your own pace.

Open the interactive explanation
Interactive explainer1 / 3

Scaling up, scaling out and multi-cluster warehouses

Single slow query
Many arrivals
Profile and history

Observe

Separate execution work from waiting.

Automatic playback is off for reduced motion. Select any step or use Previous and Next. Illustrations explain behavior; they are not live measurements.

Read the complete diagram explanation
  1. Observe

    Separate execution work from waiting.

  2. Scale up

    Change resources available within each cluster.

  3. Scale out

    Add clusters to serve concurrency.

Try the SQL or command

Read → predict → run in your learning environment → compare. You can also learn by reading without an account.

New to SQL? Where to run it and how to read it

A query is a question written in SQL. Snowflake runs it and returns a result table. This website shows examples; it does not connect to your account.

  1. No account yet? Read and predict the output first. Follow the account and Snowsight lesson when you are ready.
  2. For SQL practice, use a learning account in Snowsight and select an authorized role and warehouse. A role determines permissions; a warehouse supplies processing power. Follow the example’s database/schema setup when it refers to stored objects.
  3. Read the entire example, including comments beginning with --. Run the selected statement or labeled block in the stated order. Examples labeled Python, shell or HTTP belong in that client, not in a SQL editor.
  4. Compare values and row counts with the explained result. If an example deliberately causes an error, follow its rollback and cleanup steps before continuing.
SELECT / FROM
Choose the values to return / identify their input.
VALUES / COLUMN1
VALUES supplies tiny example rows. COLUMN1 means their first column, COLUMN2 their second.
AS / WITH
AS gives a result a readable name. WITH names a temporary query step within one statement.
NULL / ::
NULL means missing or unknown. The :: notation converts a value to a named data type.
Session
One connection and its settings. Keep related transaction steps in the same session.
Database.schema.table
A full address for stored data. It is separate from the warehouse that processes queries.
Help with common practice errors
  • No active warehouse: select a warehouse your role can use. Do not assume you need to create a new one.
  • Object missing or not authorized: check the full name, required setup and active role. Ask the account owner for access if needed.
  • Object already exists: setup may already have run. Read the current state or choose a fresh lab name consistently; do not add OR REPLACE blindly.
  • Different result: check whether an earlier INSERT or UPDATE changed the data. VALUES examples provide their own fresh input for each statement.

Before running this lesson

Multi-cluster warehouses require Enterprise Edition or higher. Warehouse types, generations and regional availability affect supported settings.

Read a multi-cluster configuration

SQL · example
-- Optional isolated setup requiring the appropriate edition and privileges.
CREATE WAREHOUSE LEVEL1_CONCURRENCY_WH
  WAREHOUSE_SIZE = 'XSMALL'
  MIN_CLUSTER_COUNT = 1
  MAX_CLUSTER_COUNT = 3
  SCALING_POLICY = 'STANDARD'
  AUTO_SUSPEND = 60
  AUTO_RESUME = TRUE
  INITIALLY_SUSPENDED = TRUE;

What to expect and why

This creates a suspended warehouse with a configured range of one to three clusters when active. It demonstrates configuration only. It does not establish that a workload will require three clusters or that scaling happens instantly.

Check your understanding

Choose an answer, then check your reasoning. This is practice, not a scored test.

One query runs slowly when it is the only query. Which investigation comes first?

Try it yourself

Explain which measurements distinguish a scale-up experiment from a scale-out experiment.

Compare your reasoning

For scale-up, measure the query profile, execution time and consumption under equivalent conditions. For scale-out, also measure concurrent arrivals, queue time and active cluster count. Validate the result and total cost in both cases.

Official sources and curriculum

Module 02 · See module scope