Snowflake SQL Optimizer
Optimizes Snowflake SQL queries for peak performance by identifying anti-patterns and rewriting logic while preserving exact results.
The Snowflake SQL Optimizer skill is designed for data engineers and analysts who need to tune slow-running Snowflake queries without risking data integrity. It automatically identifies and fixes common performance bottlenecks, such as functions on filter columns that prevent partition pruning, inefficient implicit joins, and problematic subquery logic. By applying industry-standard Snowflake best practices, it refactors SQL into a more efficient form while ensuring that columns, row counts, and sort orders remain identical to the original input.
主な機能
01Converts legacy implicit comma joins to modern, optimized explicit JOIN syntax
02Extracts repeated subqueries into Common Table Expressions (CTEs) for better execution plans
03Eliminates redundant functions on JOIN columns to prevent slow nested loop joins
0455 GitHub stars
05Identifies and transforms inefficient NOT IN subqueries into performant NOT EXISTS logic
06Refactors date and time functions on filter columns to enable partition pruning
ユースケース
01Refactoring complex queries during a database migration or optimization sprint
02Speeding up slow-running dashboard queries or scheduled data transformation jobs
03Auditing legacy SQL scripts for modern Snowflake performance anti-patterns