SKILL

sql-optimization

Universal SQL performance optimization assistant for comprehensive query tuning, indexing strategies, and database performance analysis across all SQL databases (MySQL, PostgreSQL, SQL Server, Oracle). Provides execution plan analysis, pagination optimization, batch operations, and performance monitoring guidance.

Target: Databases. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • SQL Performance Optimization Assistant
  • 🎯 Core Optimization Areas
  • Query Performance Analysis
  • Index Strategy Optimization
  • Subquery Optimization
  • 📊 Performance Tuning Techniques
  • JOIN Optimization
  • Pagination Optimization

Expert SQL performance optimization for ${selection} (or entire project if no selection). Focus on universal SQL optimization techniques that work across MySQL, PostgreSQL, SQL Server, Oracle, and other SQL databases. [ ] Avoiding SELECT in production queries [ ] Using appropriate JOIN types (INNER vs LEFT/RIGHT) [ ] Filtering early in WHERE clauses [ ] Using EXISTS instead of IN for subqueries when appropriate [ ] Avoiding functions in WHERE clauses that prevent index usage [ ] Creating indexes on frequently queried columns [ ] Using composite indexes in the right column order [ ] Avoiding over-indexing (impacts INSERT/UPDATE performance) [ ] Using covering indexes where beneficial [ ] Creating partial indexes for specific query patterns [ ] Using appropriate data types for storage efficiency [ ] Normalizing appropriately (3NF for OLTP, denormalized for OLAP) [ ] Using constraints to help query optimizer [ ] Partitioning large tables when appropriate [ ] Using LIMIT/TOP for result set control [ ] Implementing efficient pagination strategies [ ] Using batch operations for bulk data changes [ ] Avoiding N+1 query problems [ ] Using prepared statements for repeated queries [ ] Testin

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
OKHP3/skillz
Source file
community/sql-optimization/SKILL.md
Fixed revision
7b187777d42ab7bc7bab1e5f2c940cd3139ecebf
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: OKHP3/skillz · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T10:00:54.366Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.