Real ChatGPT answer · index seedSP2WgPInjJwcompleteB2B software · data and analytics platformsinformational
My leadership team is furious about our Snowflake bill this month, so how do I audit and optimize our most expensive SQL queries by end of day today?
Download run
Fan-out diagram
The searches the AI actually ran for this prompt.
SEED QUERY
My leadership team is furious about our Snowflake bill this month, so how do I audit and optimize our most expensive SQL queries by end of day today?
3 real searches · 1 real-search pass
Snowflake cost optimization query history warehouse metering official documentation 2026Google ↗
OBSERVEDOther / navigational
Snowflake documentation QUERY_HISTORY ACCOUNT_USAGE WAREHOUSE_METERING_HISTORY query attribution cost optimization query profileGoogle ↗
OBSERVEDReason
site:docs.snowflake.com/en/sql-reference/account-usage/query_attribution_history QUERY_ATTRIBUTION_HISTORY columns credits_attributed_computeGoogle ↗
OBSERVEDOther / navigational
Badge and edge weight = share of passes that produced the query. Hover a query for its intent and routing format.
Query classes
Google's semantic query class for every sub-query: what kind of answer each search is after, simulated vs real.
ChatGPT real searches (3)
Classes come from the query-classifier (a local Laya model). 3 of 3 calls are low-confidence (under 50%) — hover a query in the table to see its confidence.
Searches and sources
ChatGPT3 real searches · gpt-6
Snowflake cost optimization query history warehouse metering official documentation 2026 Google ↗
Snowflake documentation QUERY_HISTORY ACCOUNT_USAGE WAREHOUSE_METERING_HISTORY query attribution cost optimization query profile Google ↗
site:docs.snowflake.com/en/sql-reference/account-usage/query_attribution_history QUERY_ATTRIBUTION_HISTORY columns credits_attributed_compute Google ↗
- Monitor query activity with Query History · docs.snowflake.com
- Cost Optimization · snowflake.com
- Cost Optimization · snowflake.com
- QUERY_ATTRIBUTION_HISTORY view · docs.snowflake.com
- Attributing cost · docs.snowflake.com
- QUERY_HISTORY view · docs.snowflake.com
Queries
3 queries · click a column to sort
| Query / type | Search | Intent | Query class | Routing format | Cluster | Freq ↓ | Weight |
|---|---|---|---|---|---|---|---|
Snowflake cost optimization query history warehouse metering official documentation 2026 OBSERVED | Google ↗ AI Mode ↗ | — | Other / navigational | — | — | 1x of 1 | |
Snowflake documentation QUERY_HISTORY ACCOUNT_USAGE WAREHOUSE_METERING_HISTORY query attribution cost optimization query profile OBSERVED | Google ↗ AI Mode ↗ | — | Reason | — | — | 1x of 1 | |
site:docs.snowflake.com/en/sql-reference/account-usage/query_attribution_history QUERY_ATTRIBUTION_HISTORY columns credits_attributed_compute OBSERVED | Google ↗ AI Mode ↗ | — | Other / navigational | — | — | 1x of 1 |