SQL Optimization Patterns
Optimizes database performance through systematic query analysis, advanced indexing strategies, and efficient execution patterns.
This skill empowers developers and AI agents to transform slow-running database operations into high-performance queries by applying professional-grade optimization techniques. It provides comprehensive guidance on interpreting EXPLAIN plans, implementing sophisticated indexing strategies like GIN and composite indexes, and resolving common bottlenecks such as N+1 query problems and inefficient pagination. Whether you are designing a new schema or troubleshooting a production performance issue, this skill offers the implementation patterns needed to reduce database load, minimize latency, and scale datasets effectively.