SkillsLib.ai

Snowflake Query Performance Analysis & Optimization

Analyze and optimize Snowflake queries for peak warehouse performance

4.0(6 reviews)
10+ downloads
Updated Nov 2026

What You Can Do

You can analyze Snowflake query execution plans to identify performance bottlenecks and recommend targeted optimizations. This skill provides data-driven recommendations for warehouse configuration, data clustering, and SQL rewrites that reduce both execution time and credit costs.

Features

Parse execution plans

breaks down query stages, identifies full table scans and shuffle operations

Warehouse sizing analysis

recommends compute tier based on query complexity and concurrent workload

Data clustering optimization

suggests clustering keys and micro-partition strategies to reduce scan cost

SQL rewrite suggestions

identifies inefficient predicates, joins, and subqueries with optimized alternatives

Cost impact quantification

estimates credit savings (per query, daily, monthly) from each optimization

Materialized view recommendations

identifies candidates for views to replace expensive subqueries

Concurrency and queuing analysis

detects resource contention and queueing delays

Performance benchmark reports

documents baseline metrics, optimization gains, and validation checksums

Example Output

Execution Plan Analysis:

  • Current: Full table scan on 1.2B rows (45s, 120 credits)
  • Root cause: No predicate pushdown on date column
  • Optimization: Add clustering key on (customer_id, created_date)
  • Result: Partition pruning to 48M rows (8s, 18 credits) — 82% speedup, 85% cost reduction

Warehouse Configuration Report:

  • Current: X-Large (8 cr/hr) with 10 concurrent queries
  • Issue: Queue wait time avg 12s, total throughput 2 queries/min
  • Recommendation: Medium (2 cr/hr) with query queueing → 98% cost reduction, acceptable SLA

SQL Rewrite:

code
-- BEFORE: Full outer join causing redistribute
SELECT * FROM orders o FULL OUTER JOIN users u ON o.user_id = u.id WHERE o.created_date > CURRENT_DATE - 30

-- AFTER: Inner join with filtered subquery (80% faster)
SELECT o.*, u.name FROM orders o INNER JOIN users u ON o.user_id = u.id WHERE o.created_date > CURRENT_DATE - 30

What's Included

  • SKILL.md: Complete Snowflake optimization framework with decision trees and analysis workflows
  • Query audit checklist: Systematic execution plan review process and issue prioritization
  • Warehouse sizing worksheet: Credit calculator and tier recommendation matrix
  • Clustering strategy guide: Key selection patterns and partition micro-optimization
  • SQL optimization patterns: 15+ common rewrites (correlated subqueries, window functions, etc.)
  • Cost estimation template: Monthly credit projection and savings validation checklist
  • Performance testing workbook: Benchmark capture, validation, and regression detection procedures

Who It's For

  • Data engineers — Optimize ETL pipelines, warehouse loads, and merge operations
  • Database administrators — Manage compute costs and enforce performance standards
  • Analytics engineers — Improve dashboard query performance and reduce refresh times
  • Data analysts — Debug slow exploratory queries and optimize report generation
  • Cloud architects — Design cost-efficient Snowflake infrastructure and governance policies

Best For

  • Analyzing slow queries using execution plans and identifying root causes
  • Right-sizing Snowflake warehouse compute for workload, SLA, and budget constraints
  • Optimizing table clustering and partition strategies to reduce data scans
  • Generating SQL rewrites that eliminate sorts, shuffles, and redistributes
  • Quantifying credit cost savings from each optimization recommendation

You might also like

B2C Campaign Launch Strategy & Execution Framework
$35
B2C3.2(5)
B2C Campaign Launch Strategy & Execution Framework

Build complete B2C campaign launch plans from positioning through execution. You'll segment audiences based on behavior and value, architect cohesive messaging for each segment, design optimal channel mixes, and establish measurable success metrics tied to business outcomes. Get a ready-to-execute campaign blueprint that coordinates positioning, creative, channels, and performance tracking.

skill-competitive-intel-synthesis
$30
skill-competitive-intel-synthesis

You'll analyze competitor positioning, market strategies, and business models to generate actionable competitive intelligence reports. This skill synthesizes public data, customer research, and market trends into structured competitive analysis that informs product strategy, pricing, and go-to-market decisions. Get clear competitive advantages, threat assessments, and market opportunity summaries without hours of manual research.

Consumer Insights Synthesis & Trend Analysis
$30
Consumer Insights Synthesis & Trend Analysis

Transform raw research data from surveys, interviews, focus groups, and social listening into validated consumer insights grounded in evidence. You'll automatically identify customer segments, map their pain points, detect emerging trends, and generate strategic recommendations that connect research to business decisions. This skill helps you move from scattered findings to a unified market intelligence strategy that stakeholders can act on.

Consumer Insights Synthesizer
$30
Consumer Insights Synthesizer

You can extract, structure, and synthesize consumer insights from multiple research sources including interviews, surveys, and social listening data. This skill transforms raw qualitative and quantitative data into clear, actionable findings and detailed consumer personas that inform product, marketing, and business strategy decisions.

Consumer Insights Synthesis & Analysis
$30
Consumer Insights Synthesis & Analysis

This skill analyzes consumer data, behavior patterns, and feedback to extract actionable insights. You can synthesize raw data into coherent market trends, identify consumer segments, and generate strategic recommendations. Perfect for understanding your audience at scale and uncovering hidden opportunities in consumer preferences and market dynamics.

Brand Repositioning Strategy & Execution
$30
Brand Repositioning Strategy & Execution

Analyze your current brand perception, competitive position, and market gaps to develop a comprehensive repositioning strategy. You'll receive a differentiated positioning statement, messaging architecture, competitive analysis, and a tactical 90-day implementation roadmap that your team can execute immediately.

Quantitative Market Research Design & Analysis
$30
Quantitative Market Research Design & Analysis

Claude helps you design statistically sound market research studies from hypothesis formation through analysis. You'll calculate sample sizes, statistical power, and interpret confidence intervals and hypothesis tests with professional rigor. Transform raw survey and experiment data into actionable business insights backed by solid statistics.

B2B GTM Strategy & Campaign Planning
$40
B2B3.7(6)
B2B GTM Strategy & Campaign Planning

Develop comprehensive go-to-market strategies that align sales, marketing, and product teams. This skill helps you analyze your target market, design multi-channel campaigns, define success metrics, and create detailed launch roadmaps. You'll get strategic frameworks, competitive analysis, and actionable campaign plans tailored to your B2B business.

$40.00