What I Use After Azure Data Studio Retired

Microsoft retired Azure Data Studio in February 2026. Here is how I inspect .sqlplan files, diff execution plans, and untangle deadlocks on macOS and in VS Code now.

Microsoft retired Azure Data Studio on February 28, 2026. For years it was my default recommendation whenever someone worked with SQL Server or Azure SQL on a Mac and didn’t want to keep a Windows VM around just for SSMS.

Three gaps that kept slowing me down

Once Azure Data Studio went away, the friction showed up in performance debugging rather than basic querying:

  • Offline .sqlplan and .xdl files on macOS. Someone drops a 2 MB .sqlplan or an Extended Events .xdl deadlock file into Slack or Jira. Reading nested <RelOp> XML in a text buffer is painful, and uploading production query plans to a public pastebin is usually blocked by security policy.
  • Tab-flipping to compare two plans. After adding an INCLUDE column or removing a join hint, staring at two big trees in separate tabs makes it easy to miss why one plan is faster or whether a compiled parameter value skewed row estimates.
  • Different tools for every engine. Most backend teams I work with touch Azure SQL in one service, PostgreSQL in the next, and SQLite in local tests. Learning a separate visualizer per database wastes time when you just want to see which operator burned the I/O.

To fix this for myself, we extracted the parser, plan differ, and deadlock analyzer from Culprit SQL Studio into standalone WebAssembly packages.

Comparing .sqlplan files side by side

Take a typical SQL Server checkout query. The baseline plan seeks ix_orders_status_created, matches 18,400 rows, and then runs a Key Lookup on pk_orders 18,400 times before TOP 50 finishes.

Adding the three fetched columns (customer_id, total_cents, shipping_notes) to INCLUDE removes the lookup completely:

184 ms -> 3 ms Measured elapsed time (61x faster)
56,120 -> 157 Logical 8 KB page reads
18,400 -> 0 Key Lookups against pk_orders

The viewer below is the live @culpritsql/plan-viewer React component, not a static image. Click any operator or switch between Diagram and Tree:

Live .sqlplan diffClick any operator or switch Diagram / Tree
Open in Culprit Explain ↗
A Before (18.4K Key Lookups)vsB After covering INCLUDE index

61× fasterAfter covering INCLUDE index took 61× less time than Before (18.4K Key Lookups) (184 ms → 3 ms).

  • After covering INCLUDE index has no Nested Loops and Key Lookup on orders (Before (18.4K Key Lookups) has).
  • After covering INCLUDE index has no Key Lookup on orders (Before (18.4K Key Lookups) has).
14.8
cost · Before (18.4K Key Lookups)
0.210
cost · After covering INCLUDE index
184 ms
time · Before (18.4K Key Lookups)
3 ms
time · After covering INCLUDE index
6 → 4
operators
3
identical regions
ABefore (18.4K Key Lookups)SQL Server · actual
Actual plan6 operators · cost 14.880%
Measured run184 ms92 msCPU56Kreads · 1.9K from disk50rows
Where the 184 ms went
result
BAfter covering INCLUDE indexSQL Server · actual
Actual plan4 operators · cost 0.2180%
Measured run3 ms2 msCPU157reads50rows
Where the 3 ms went
result
Live @culpritsql/plan-viewer component: SQL Server drops from 184 ms (56,120 logical reads across 18,400 Key Lookups) to 3 ms (157 logical reads) once the status + created_at index includes the selected columns.

Reading .xdl deadlock cycles without SSMS

Deadlock XML captures had the same problem outside Windows. All the evidence is inside the .xdl file (<victim-list>, <inputbuf>, hobtid key locks, hold vs wait modes), but reconstructing the cycle by hand during an outage is error-prone.

Here is a two-session capture where checkout-worker (SPID 74) and fulfillment-sync (SPID 112) lock dbo.orders and dbo.inventory in opposite order:

Live .xdl deadlock graphHover a session or lock node to trace the cycle
Open in Culprit Explain ↗
Opposite orderPasted

Two transactions locked dbo.inventory and dbo.orders in opposite order and waited on each other; session 74's transaction was rolled back.

Holds Xholds XWants Uwants UHolds Xholds XWants Xwants Xdbo.orders (PK_orders · row) held by X · wanted as Udbo.ordersPK_orders · rowdbo.inventory (PK_inventory · row) held by X · wanted as Xdbo.inventoryPK_inventory · rowUPDATE dbo.inventory SET reserved = reserved + @qty WHERE sku_id = @sku;Session 74rolled backcheckout-worker · app_che…UPDATE dbo.inventory SET…UPDATE dbo.orders SET shipped_at = SYSUTCDATETIME() WHERE id = @order_id;Session 112fulfillment-sync · app_fu…UPDATE dbo.orders SET sh…
holds wantsHover or focus a box to follow its locks.

Session 74 held dbo.orders and wanted dbo.inventory; session 112 held dbo.inventory and wanted dbo.orders. With the same order in both, the second would simply wait instead of deadlocking.

How to fix it

  1. Touch tables and rows in the same order everywhere

    Make every code path that changes dbo.inventory and dbo.orders do it in one order (for example, always the parent row first, and rows sorted by key). Then the second transaction waits instead of deadlocking.

  2. Keep transactions short

    Do reads, validation and outside calls before the transaction starts; hold locks only for the writes.

  3. Retry the victim

    A deadlock victim can be retried safely; the application should catch error 1205 and run the transaction again.

Who was involved

Session 74rolled back
checkout-worker · app_checkout@worker-03 · read committed
UPDATE dbo.inventory
SET reserved = reserved + @qty
WHERE sku_id = @sku;
Session 112
fulfillment-sync · app_fulfillment@sync-01 · read committed
UPDATE dbo.orders
SET shipped_at = SYSUTCDATETIME()
WHERE id = @order_id;
Live @culpritsql/plan-viewer component: parsed from a SQL Server Extended Events .xdl capture. Session 74 and session 112 update dbo.orders and dbo.inventory in opposite order.

The same parser also reads PostgreSQL ERROR: deadlock detected server logs and MySQL / MariaDB SHOW ENGINE INNODB STATUS dumps.

How my setup splits across tools

All three entry points run the exact same Rust parser locally, so I pick whichever matches where the file already lives:

01 In the repo

Culprit SQL for VS Code ↗

  • Double-click .sqlplan, .explain.json, or .xdl files to open the diagram.
  • Select two plan files in Explorer to diff Before vs After.
  • Inline warnings on risky SQL migrations before opening a PR.
02 From Slack or tickets

explain.culpritsql.com ↗

  • 100% client-side WebAssembly: plans never leave your browser tab.
  • Share Link scrubs SQL literals and packs the plan into a #s=z1... URL hash.
  • Supports SQL Server, Postgres, MySQL, MariaDB, YugabyteDB, and SQLite.
03 Finding what is slow

Culprit SQL Studio ↗

  • Native macOS, Linux, and Windows app + CLI.
  • Imports saved connections straight out of Azure Data Studio's config.
  • Reads Query Store and pg_stat_statements read-only, plus 27 MCP tools for Claude Code and Cursor.

Coding agents via MCP

If you use Claude Code, Cursor, or Codex, two commands wire your saved connections into the agent without exposing raw passwords:

claude mcp add culprit -- culprit mcp
culprit agent init --connection shop

From there, the agent can inspect Query Store regressions, pull execution plans, or test a proposed PostgreSQL index via HypoPG (--with-index) while read-only guardrails stay enforced locally. For production fleets streaming into ADX or ClickHouse, see how we pair warehouse MCP plan tools with culprit lint-sql to open verified index PRs.

Everything is MIT-licensed on GitHub (@culpritsql). If you run into a .sqlplan or deadlock capture that trips the parser, open an issue with a redacted snippet and I will fix it.