Cost Management & Optimization
Learn to explain a Snowflake bill, find the workload behind a spike and test a lower-cost change without missing a deadline. Follow Maple Market from its first credit estimate to a cost incident you can investigate yourself.
Before you begin
10 lessons · About 198 minutes including the lab.
Brush up on credits and warehouses, recovery and clone storage or query performance when you need the background.
Read the worked results with no account. For optional practice in Snowflake, use an approved role and warehouse. Account Usage examples require visibility into the corresponding views. The capstone uses fictional rows and needs no feature activation.
Your lesson path
- Lesson 1 · About 16 min
What Snowflake charges for and how to estimate credits
Read a Snowflake bill by separating warehouse compute, serverless compute, Cloud Services, storage and data transfer. Calculate billable credits and turn usage into an estimate with your own rates.
- Lesson 2 · About 22 min
Right-size a warehouse and set auto-suspend
Compare warehouse size, execution time, queues, multi-cluster usage and idle time. Use the 60-second billing minimum to choose a cost-effective configuration.
- Lesson 3 · About 17 min
Set cost alerts with Resource Monitors and budgets
Choose Resource Monitors for warehouse controls and budgets for broader credit forecasts. Compare notifications, suspension, serverless coverage and what happens to running queries.
- Lesson 4 · About 22 min
Read metering history and find query-level costs
Use METERING_DAILY_HISTORY, WAREHOUSE_METERING_HISTORY and QUERY_ATTRIBUTION_HISTORY to distinguish billed credits, warehouse idle time and query-level cost attribution.
- Lesson 5 · About 17 min
Allocate Snowflake costs to teams and workloads
Use warehouse ownership, object tags and QUERY_TAG to split shared usage. Reconcile direct credits, unassigned work and idle compute before publishing showback.
- Lesson 6 · About 18 min
Track serverless, Snowpipe and ingestion costs
Choose the right cost meter for warehouse COPY INTO, Snowpipe, Snowpipe Streaming and serverless tasks. Compare billed bytes, credits, retries and delivery freshness.
- Lesson 7 · About 20 min
Weigh the cost of clustering, Search Optimization and Materialized Views
Measure initial work, recurring maintenance credits and extra storage against query compute savings and latency requirements.
- Lesson 8 · About 18 min
Explain storage, Time Travel and clone costs
Read storage usage and clone-group metrics. Separate active bytes, Time Travel, Fail-safe, stage files and bytes retained for clones before changing retention.
- Lesson 9 · About 18 min
Troubleshoot an unexpected Snowflake cost increase
Compare complete periods, identify the largest billed change, trace it to a workload and plan a measurable correction with a rollback.
- Lesson 10 · About 30 min
Lab: investigate a cost spike and test a cheaper workload
Explain a five-credit increase at Maple Market. Trace billed usage to an ELT warehouse and maintenance, isolate idle compute, and compare candidates against cost, correctness and delivery requirements.
Continue to Module 17 · Access Control, Authentication & Network Security to design access for the people and workloads you manage.