Let’s Get Certified
Module 05 / 20 · Snowflake AI Data Cloud features and architecture

Configure warehouses for execution time and concurrency

Distinguish a query’s resource requirement from queueing caused by many simultaneous requests.

Configure warehouses for execution time and concurrency

Work through the decision

Eight short dashboards queue behind a scheduled transformation. A single model-training task also spills heavily. Should both problems be fixed by adding clusters?

Check your reasoning

Separate the reporting and transformation workloads if they need different service levels. Extra clusters can handle concurrent statements. A larger or memory-appropriate warehouse can help a single resource-constrained operation. Compare observed queue time and execution metrics before changing capacity.

Watch the source lesson at 27:21

Compare the choices

Scale up
Increase per-cluster resources for an individual workload when evidence shows it needs more capacity.
Scale out
Add multi-cluster capacity for eligible concurrent workloads. Observe queues and configure supported minimum, maximum and policy.
Workload isolation
Use separate warehouses to control scheduling and budgets for workloads with different service levels.
Auto-suspend
Suspend inactive compute after the configured interval. Account for restart latency, cache loss and the minimum charge per resume.
Snowpark-optimized warehouse
Evaluate memory-oriented configurations for supported resource-intensive Snowpark workloads.

Test the decision

Choose standard Gen1 or Gen2 where supported using representative cost and runtime measurements. Snowpark-optimized compute offers configurations for memory-intensive processing. Configure auto-suspend around usage gaps and repeat starts. For notebooks, inspect the configured default and compute selection before attributing cost.

A configured default notebook warehouse and a system-managed fallback are distinct settings. The supplemental demonstration identifies SYSTEM$STREAMLIT_NOTEBOOK_WH. Snowflake’s guide makes this notebook topic conditional on global availability. Check current release status when planning an implementation.

Current notebook warehouse behavior · Watch the notebook warehouse demonstration

Practice the guide skills

  1. Choose an auto-suspend setting from observed idle gaps, restart cost and latency. Watch 27:21
  2. Compare supported Gen1 and Gen2 standard warehouses on the same representative job. Watch 27:46
  3. Identify a memory-intensive Snowpark workload that merits an optimized warehouse trial. Watch 28:05
  4. Compare Standard and Economy scaling policies, cluster limits and observed queueing for a burst of short queries. Watch 32:46
  5. Separate reporting, batch loads, ad-hoc analysis and individual complex queries by concurrency and service requirement. Watch 34:24
  6. Identify the effective notebook warehouse. Distinguish a configured preferred warehouse from a system-managed fallback where supported. Watch 49:11

Official objectives for this lesson

Related lesson · Optimize the measured bottleneck

Knowledge check

Configure warehouses for execution time and concurrency quiz

Answer 3 questions. Check each answer for an explanation.