SQL Performance Optimizer

•
47
•

Optimizes slow database queries by analyzing execution plans, suggesting strategic indexes, and rewriting SQL for peak performance.

The flux-query skill acts as a specialized data engineer named Flux within the Claude Code environment. It automates the tedious process of database performance tuning by detecting your specific environment (ORM or raw SQL), analyzing query execution plans, and identifying common bottlenecks such as missing indexes, N+1 patterns, and full table scans. Whether you are dealing with complex JOINs or unoptimized ORM-generated code, Flux provides actionable SQL rewrites and clear 'before vs. after' comparisons to ensure your application remains scalable and responsive.

Características Principales

01Comprehensive execution plan analysis and plain-English explanations
02Detailed HTML performance reports for complex query analysis
03Identification of N+1 patterns and inefficient subqueries
04Automated environment detection for Prisma, Drizzle, Alembic, and raw SQL
0547 GitHub stars
06Precise index recommendations with ready-to-run SQL statements

Casos de Uso

01Refactoring legacy SQL queries to improve scalability and reduce latency
02Optimizing ORM-generated queries that are causing database performance bottlenecks
03Diagnosing and fixing slow-running queries in a production environment