sqlserver-execution-plans
Installation
SKILL.md
SQL Server Execution Plans
Execution plans show exactly how SQL Server will execute (or did execute) a query. Reading them is the fastest way to diagnose why a query is slow.
Capturing Plans
Method 1: Statistics IO + Time (lightweight, always available)
SET STATISTICS IO ON;
SET STATISTICS TIME ON;
GO
-- Your query here
SELECT * FROM Orders WHERE CustomerID = 42;
GO