Real ChatGPT answer · index seed60y54duzF6IcompleteB2B software · data and analytics platformsinformational
What are the most common anti-patterns in Snowflake table design that cause massive partition scans and high credit consumption, and how do I fix them today?
Download run
Fan-out diagram
The searches the AI actually ran for this prompt.
SEED QUERY
What are the most common anti-patterns in Snowflake table design that cause massive partition scans and high credit consumption, and how do I fix them today?
2 real searches · 1 real-search pass
Snowflake micro-partition pruning clustering keys search optimization service query profile table design best practices official docsGoogle ↗
OBSERVED
site:docs.snowflake.com TABLE_QUERY_PRUNING_HISTORY COLUMN_QUERY_PRUNING_HISTORY QUERY_HISTORY partitions_scanned partitions_total query profileGoogle ↗
OBSERVED
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.
Classifying 2 queries…
Searches and sources
ChatGPT2 real searches · gpt-6
Snowflake micro-partition pruning clustering keys search optimization service query profile table design best practices official docs Google ↗
site:docs.snowflake.com TABLE_QUERY_PRUNING_HISTORY COLUMN_QUERY_PRUNING_HISTORY QUERY_HISTORY partitions_scanned partitions_total query profile Google ↗
- Table Design Considerations · docs.snowflake.com
- Clustering Keys & Clustered Tables · docs.snowflake.com
- Optimizing storage for performance · docs.snowflake.com
- TABLE_QUERY_PRUNING_HISTORY view · docs.snowflake.com
- COLUMN_QUERY_PRUNING_HISTORY view · docs.snowflake.com
- TABLE_QUERY_PRUNING_HISTORY view · docs.snowflake.com
Queries
2 queries · click a column to sort
| Query / type | Search | Intent | Query class | Routing format | Cluster | Freq ↓ | Weight |
|---|---|---|---|---|---|---|---|
Snowflake micro-partition pruning clustering keys search optimization service query profile table design best practices official docs OBSERVED | Google ↗ AI Mode ↗ | — | — | — | — | 1x of 1 | |
site:docs.snowflake.com TABLE_QUERY_PRUNING_HISTORY COLUMN_QUERY_PRUNING_HISTORY QUERY_HISTORY partitions_scanned partitions_total query profile OBSERVED | Google ↗ AI Mode ↗ | — | — | — | — | 1x of 1 |