Optimizes database performance through advanced indexing strategies, EXPLAIN plan analysis, and query restructuring patterns.
This skill serves as a comprehensive guide for developers looking to eliminate slow-running queries and improve database scalability. It provides actionable patterns for interpreting execution plans, implementing specialized indexes (like GIN, BRIN, and covering indexes), and rewriting inefficient SQL. From resolving N+1 query issues to mastering cursor-based pagination and table partitioning, this skill enables Claude to provide expert-level database tuning and architectural advice for high-traffic applications.
主要功能
01Advanced scaling techniques like materialized views and partitioning
02Solutions for the N+1 query anti-pattern and inefficient joins
03Deep EXPLAIN and EXPLAIN ANALYZE query plan interpretation
04High-performance pagination and aggregation optimization
05Sophisticated indexing strategies including composite and partial indexes
060 GitHub stars
使用场景
01Debugging and accelerating slow-running production database queries
02Designing performant schemas for applications with large datasets
03Reducing database server load and infrastructure costs through optimization