optimizing-sql-queries
CommunityAnalyze & optimize SQL queries for peak performance.
Authorjeremylongshore
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill empowers Claude to analyze SQL queries, identify performance bottlenecks, and suggest optimizations such as index creation or query rewriting. It leverages the sql-query-optimizer plugin to provide actionable recommendations for improving database performance and efficiency.
Core Features & Use Cases
- Query Analysis: Analyze SQL structure and execution plans to pinpoint inefficiencies.
- Index Recommendations: Suggest optimal indexes to speed up slow queries.
- Query Rewrites: Propose alternative, more efficient query formulations.
- Use Case: Optimize a slow
SELECTquery by identifying missing indexes and suggesting a more efficient query structure.
Quick Start
User request: "Optimize this SQL query: SELECT * FROM orders WHERE customer_id = 123 AND order_date < '2023-01-01';"
The skill will:
- Analyze the provided SQL query.
- Suggest creating an index on
customer_idandorder_datecolumns to improve query performance.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferencesassets
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: optimizing-sql-queries Download link: https://github.com/jeremylongshore/claude-code-plugins-plus/archive/main.zip#optimizing-sql-queries Please download this .zip file, extract it, and install it in the .claude/skills/ directory.