Repository navigation
Expand file tree
/
Copy pathplugin.json
More file actions
39 lines (39 loc) · 3.27 KB
/
Copy pathplugin.json
File metadata and controls
39 lines (39 loc) · 3.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "sqlserver-plan-review",
"version": "1.0.0",
"description": "Review SQL Server execution plans (.sqlplan / showplan XML) and Query Store exports: find where the work goes, trace misestimates to their origin, flag known problem patterns and misleading values, and report findings with evidence and fixes.",
"author": { "name": "Barak Gal", "url": "https://github.com/barak810" },
"homepage": "https://github.com/barak810/sqlserver-plan-review",
"repository": "https://github.com/barak810/sqlserver-plan-review",
"license": "MIT",
"keywords": ["sql-server", "execution-plans", "query-store", "query-tuning", "performance", "dba"],
"extensions": {
"com.openai": {
"interface": {
"displayName": "SQL Server Plan Review",
"shortDescription": "Execution Plans Analysis",
"longDescription": "Review SQL Server execution plans the way an experienced performance tuner does. Share an actual or estimated plan (.sqlplan / showplan XML), a Query Store export, or plans collected from a client, and get findings ranked by measured impact, each with its evidence, cause and fix.\n\nWhat it does:\n- Separates actual from estimated plans and reads the plan-wide facts: optimizer early termination, cardinality estimator version, sniffed parameters, memory grants, waits, forced plans and hints.\n- Compares estimates with actuals correctly (rows per execution times executions) and traces misestimates to the operator where they start.\n- Recognises common problem patterns: spills, memory grant issues, lookup storms, residual predicates, implicit conversions, eager index spools, OR in join conditions, parallel skew, scalar UDFs, fixed-guess functions, stale statistics, ad hoc plan churn.\n- Knows which plan values and warnings are misleading, and when a warning is a false positive.\n- Includes a plan-reading script, read-only Query Store and plan cache SQL scripts, and a PowerShell collector you can run against your own server.\n\nBuilt on Hugo Kornelis' SQL Server Execution Plan Reference (sqlserverfast.com/epr).\n\nLimitations: it analyses the plans and exports you provide; it does not connect to your server. Query Store and cached plans contain no run-time counters, so some conclusions need an actual plan. Thresholds are heuristics.",
"developerName": "Barak Gal",
"category": "Developer Tools",
"capabilities": ["Review execution plans", "Analyze Query Store exports", "Detect plan problems", "Explain misleading plan values"],
"websiteURL": "https://github.com/barak810/sqlserver-plan-review",
"supportURL": "https://github.com/barak810/sqlserver-plan-review/issues",
"privacyPolicyURL": "https://github.com/barak810/sqlserver-plan-review/blob/HEAD/PRIVACY.md",
"defaultPrompt": [
"Review these execution plans and rank the problems by impact.",
"Why is this query slow? Here's the .sqlplan.",
"Analyze the plans exported by the .ps1"
],
"brandColor": "#04223A",
"brandColorDark": "#00D1CB",
"composerIcon": "./assets/icon.png",
"logo": "./assets/logo.png"
},
"publication": {
"countries": [],
"release_notes": "Initial release."
}
}
}
}