Database Query Optimization
Diagnoses and resolves slow SQL queries using advanced analysis techniques and indexing strategies.
This skill equips Claude with the specialized knowledge required to identify, analyze, and optimize inefficient database operations. It provides structured guidance on using EXPLAIN ANALYZE to interpret query plans, implementing effective indexing strategies (such as covering and composite indexes), and eliminating performance-draining N+1 query patterns. Whether you are troubleshooting production latency or refining ORM-generated SQL, this skill ensures your database layer remains performant and scalable through proven architectural patterns.
Características Principales
01Automated detection and resolution of N+1 query patterns
02Advanced query rewriting for optimized execution paths
03Expert interpretation of EXPLAIN ANALYZE execution plans
04Intelligent index tuning and composite index design guidance
05Monitoring tools for identifying slow queries and unused indexes
064 GitHub stars
Casos de Uso
01Designing high-performance indexing strategies for complex search and filter features
02Troubleshooting and fixing slow response times in production database queries
03Refining ORM configurations to prevent inefficient data fetching patterns