Index Advisor
Recommend optimal database indexes based on your query patterns and table structures for improved performance.
Usage
Share your common queries and table schemas, and this skill will recommend appropriate indexes.
Examples
- "What indexes should I add for my user search queries?"
- "Is a composite index better than separate indexes for this query?"
- "Should I use a partial index for filtering active records?"
Guidelines
- Index columns that appear in WHERE, JOIN, and ORDER BY clauses
- Consider composite indexes for multi-column filter patterns
- Use partial indexes to reduce index size for filtered queries
- Monitor index usage and remove unused indexes
- Balance read performance gains against write overhead