sql-optimization
π―Skillfrom github/awesome-copilot
Optimizes SQL query performance across all databases with indexing strategies, query tuning, and execution plan analysis.
Overview
This skill provides universal SQL performance optimization guidance across MySQL, PostgreSQL, SQL Server, Oracle, and other SQL databases. It covers query performance analysis, indexing strategies, subquery optimization, pagination, batch operations, and execution plan analysis to systematically improve database performance.
Key Features
- Query Performance Analysis - Identifies inefficient patterns like SELECT *, function calls in WHERE clauses, and correlated subqueries, replacing them with optimized alternatives using proper joins and indexed columns
- Index Strategy Optimization - Guides creation of targeted composite indexes, partial indexes, and covering indexes aligned with actual query patterns rather than blanket indexing
- Execution Plan Analysis - Teaches how to read and interpret execution plans to identify table scans, missing indexes, and inefficient join strategies
- Pagination & Batch Operations - Optimizes large result set handling with keyset pagination and efficient batch insert/update patterns
- Cross-Database Compatibility - Provides optimization techniques that work universally across major SQL database platforms
Who is this for?
Database administrators, backend developers, and data engineers working with SQL databases who need to diagnose and resolve query performance bottlenecks. Ideal for teams managing growing datasets where query response times are critical and systematic optimization approaches are needed.
Same repository
github/awesome-copilot(224 items)
Installation
npx vibeindex add github/awesome-copilot --skill sql-optimizationnpx skills add github/awesome-copilot --skill sql-optimization~/.claude/skills/sql-optimization/SKILL.mdSKILL.md
More from this repository10
A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.
A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.
Generates comprehensive Product Requirements Documents (PRDs) by systematically analyzing requirements and crafting detailed technical specifications
A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.
Generates Excalidraw diagrams from natural language descriptions, creating visual representations of processes, systems, relationships, and ideas.
Expert technical writer guided by the Diataxis framework, creating tutorials, how-to guides, reference docs, and explanation pages for software documentation.
Automates browser interactions, debugging, and performance analysis using Chrome DevTools for comprehensive web page inspection and control.
Provides Spring Boot best practices covering project setup, dependency injection, REST API design, data access with JPA, security configuration, and testing strategies.
A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.
Manages GitHub Issues through the GitHub API, enabling creation, searching, labeling, and triaging of issues directly from the coding environment.