What problem does it solve?
This Skill tackles inefficient database queries and suboptimal indexing strategies, ensuring your database operations are fast, scalable, and maintainable.
Core Features & Use Cases
- Query Optimization: Analyzes and tunes slow SQL queries using
EXPLAIN to identify bottlenecks.
- Index Design: Guides the creation and management of effective database indices for improved performance.
- Advanced SQL: Assists in writing complex queries with CTEs, Window Functions, and recursive queries.
- Use Case: You have a report that takes minutes to run. This Skill can analyze the query, suggest appropriate indices, and rewrite parts of the query for faster execution.
Quick Start
Use the sql skill to analyze the performance of the following query: SELECT * FROM users WHERE email LIKE '%@example.com';