sqlplan-compare

Installation
SKILL.md

SQL Server Execution Plan Comparison Skill

Purpose

Identify what changed between two execution plans for the same query — one known-good (baseline) and one regressed (new). Produce a side-by-side diff that explains why the query is slower and what to fix.

Input

Accept any of:

  • Two .sqlplan file paths: baseline.sqlplan and new.sqlplan
  • Two blocks of raw .sqlplan XML pasted inline, labeled Baseline and New
  • A description of both plans if XML is not available

How to Run

  1. Parse both plans independently
  2. Extract the comparison metrics listed below for each plan
  3. Produce a side-by-side diff table, then a findings section for every significant change
  4. Conclude with a prioritized fix list
Related skills

More from vanterx/mssql-performance-skills

Installs
1
GitHub Stars
1
First Seen
13 days ago