Query Optimization

Diagnoses a slow SQL query from its text, execution plan and statistics, finds the dominant cost (bad cardinality estimate, wrong join order or method, scans, spills, non-sargable predicates, parameter sensitivity, blocking) and proposes ranked rewrites, index or statistics changes with expected effect and verification. Use when a query, report or endpoint is slow, a plan regressed after a release or data growth, or someone shares an execution plan and asks why it is slow.

muratdincer Updated

File contents

muratdincer/ai-skills commit 9942afaf4c

Frequently asked questions

npx get-skill add muratdincer/query-optimization