This skill empowers Claude to transform slow database operations into high-performance queries by applying systematic optimization patterns. It provides expert guidance on interpreting EXPLAIN plans, implementing complex indexing strategies—including composite, partial, and covering indexes—and resolving common bottlenecks like N+1 queries and inefficient pagination. Whether you are designing a new schema from scratch or debugging legacy production queries, this skill helps reduce latency, lower infrastructure costs, and ensure your application scales effectively as data grows.
主要功能
01Advanced EXPLAIN and EXPLAIN ANALYZE output interpretation
02Implementation of diverse indexing strategies (B-Tree, GIN, GiST, BRIN)
03Optimized pagination techniques using cursor-based logic instead of OFFSET
0489 GitHub stars
05Query refactoring to eliminate N+1 anti-patterns and Cartesian products
06Advanced schema optimization using Materialized Views and Table Partitioning
使用场景
01Designing high-performance database schemas for scalable applications
02Debugging and fixing slow-running production database queries
03Reducing database CPU load and cloud costs through query efficiency