Query Optimization
Optimizes SQL and NoSQL database queries through advanced indexing strategies, execution plan analysis, and performance tuning patterns.
The Query Optimization skill empowers Claude to act as a database performance engineer, providing expert guidance on reducing I/O, CPU, and memory usage across various database systems. It enables deep analysis of cost-based optimization (CBO) plans, helps design sophisticated indexing strategies like GIN, BRIN, or ESR-compliant compound indexes, and refactors inefficient SQL to utilize modern patterns like keyset pagination and window functions. Whether working with relational databases like PostgreSQL and MySQL or NoSQL systems like MongoDB and Cassandra, this skill ensures data layers remain scalable and performant.