Query Performance Optimization

•
499
•

Optimizes SQL and NoSQL database queries through advanced indexing strategies, execution plan analysis, and performance pattern detection.

The nw-query-optimization skill provides Claude with deep technical expertise to identify and resolve database performance bottlenecks. It offers specialized guidance on cost-based optimization, execution plan interpretation (EXPLAIN), and advanced indexing techniques for both relational systems like PostgreSQL and MySQL, and NoSQL databases like MongoDB and Cassandra. By applying best practices such as the ESR rule and identifying common anti-patterns like N+1 queries or implicit type conversions, this skill ensures that database interactions are efficient, scalable, and production-ready.

Key Features

01Deep analysis of execution plans and cost-based optimization statistics
02Advanced indexing guidance including B-Tree, GIN, GiST, and BRIN strategies
03NoSQL performance patterns including MongoDB ESR rule and Cassandra partition design
04Detection of performance anti-patterns like SELECT *, N+1 queries, and hot partitions
05499 GitHub stars
06Join algorithm selection and cardinality estimation for complex data models

Use Cases

01Refactoring slow-running SQL queries to improve application latency and reduce infrastructure costs
02Designing efficient compound and covering indexes for complex search and filtering requirements
03Auditing database access patterns to eliminate N+1 queries and full table scans