sql-query-optimizer

Analyze SQL query execution plans and identify performance bottlenecks.

Updated Jan 16, 2026
One-click install
npx skills add https://github.com/cornmanwtf/ABANG-COLEK --skill sql-query-optimizer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sql-query-optimizer
Source: https://github.com/cornmanwtf/ABANG-COLEK/tree/main/skills/data-analytics/sql-query-optimizer
Command: npx skills add https://github.com/cornmanwtf/ABANG-COLEK --skill sql-query-optimizer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps analyze and improve the performance of SQL queries, ensuring efficient database operations and faster data retrieval.

Core Features & Use Cases

  • Query Plan Analysis: Understand how the database executes a query.
  • Performance Tuning: Identify bottlenecks and suggest optimizations.
  • Use Case: A critical report is running too slowly. Use this Skill to analyze its SQL query, identify the slow parts, and get recommendations to speed it up.

Quick Start

Use the sql-query-optimizer skill to analyze the performance of the following SQL query: SELECT * FROM users WHERE signup_date > '2023-01-01'.

Frequently Asked Questions about sql-query-optimizer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize SQL query performance for slow-running reports?

To optimize SQL query performance, you can analyze the query execution plan to identify bottlenecks and suggest indexing opportunities. This process refines query logic to ensure efficient database operations and faster data retrieval.

What is SQL execution plan analysis and when do I need it?

SQL execution plan analysis is the process of understanding how a database executes a query. You need it for performance tuning when critical reports run slowly and require identifying bottlenecks to speed up data retrieval.

How do I analyze a SQL execution plan to identify indexing opportunities?

You analyze a SQL execution plan by providing the slow-running query and its system context. The analysis identifies indexing opportunities and refines query logic to improve overall database performance.

Do I need database execution plans to perform SQL performance tuning?

Yes, SQL performance tuning requires access to database execution plans and system context for analysis. These inputs are necessary to accurately identify bottlenecks and refine query logic for faster data retrieval.

Can I use SQL query optimization for any database system?

SQL query optimization applies to scenarios requiring performance tuning for slow-running queries across database systems. As long as you can provide the database execution plans and system context, the analysis can be applied.

What is the best way to fix bottlenecks in slow SQL queries?

The best way to fix bottlenecks in slow SQL queries is to analyze the execution plan to pinpoint slow parts. This identifies indexing opportunities and refines query logic to ensure efficient database operations.