SQL Optimizer

Diagnose a slow SQL query and produce a concrete optimization plan. Use when asked to optimize SQL, speed up a slow query, reduce a query's cost/scan, fix a timeout, or review a query plan. Produces an analysis — the likely bottleneck, what the plan is doing wrong (full scans, bad joins, spills), the specific rewrite and index/partition changes, and the expected impact, with the optimized query.

Mohit Aggarwal 4d5cf7f 3.5 KB Updated

File contents

mohitagw15856/pm-claude-skills/tree/main/skills/sql-optimizer commit 4d5cf7f117

Frequently asked questions

npx skillmds add mohitagw15856/sql-optimizer