Study FAQ
How do I find what drove a Snowflake warehouse credit increase?
Also asked as 2
- How do I separate idle warehouse credits from query compute and serverless charges?
- Which Snowflake views show warehouse metering and query-level cost attribution?
Answer
Start with SNOWFLAKE.ACCOUNT_USAGE.WAREHOUSE_METERING_HISTORY for hourly warehouse credits. For a standard warehouse with populated attribution fields, subtract CREDITS_ATTRIBUTED_COMPUTE_QUERIES from CREDITS_USED_COMPUTE to estimate idle compute credits. Then compare warehouse load, query timing and tags, and resize or cluster events over the same window to identify what changed.
For standard warehouse query detail, use QUERY_ATTRIBUTION_HISTORY with an authorized monitoring role. Match by query ID and use query tags or workload ownership to roll up usage. The view attributes compute to queries, excludes warehouse idle time, reports supported Query Acceleration use separately, and can lag by up to eight hours. Warehouse metering has its own delay by column. Compare like time ranges and allow the data to settle.
A warehouse load chart helps distinguish work running from work waiting on overload, provisioning, or blocking. Check whether the increase coincides with longer idle periods, higher concurrency, larger warehouse size, or more active clusters. Investigate serverless services in the applicable service usage or metering views. Warehouse compute, query-attributed credits, and billed usage are different measures, so use their documented definitions when reconciling totals.
Monitoring warehouse load · Warehouse metering history · Query attribution history · Account Usage metering by service · Warehouse events history
Full explanation
Monitoring Queries, Warehouses, Storage, and Account Activity
Study guide · COF-C03
Read the full explanation