Scope
- Engines
- SQL Server
- Roles
- AdminDBAViewer
- ClusterEye
- ClusterEye 1.6.50 and laterWritten from the product code
- Reading the page is open to all monitoring roles (Admin, DBA, Viewer). The 'Kill' button (terminating a session) is visible to a Viewer too, but the server accepts the action only for Admin or DBA; the 'Kill' links on the Queries tab are shown to those two roles only.
- The 'Blocking right now' panel queries the instance directly and needs the agent to be reachable; when it is not, the panel says so and the recorded episodes are unaffected. Deadlock graphs are read from the instance's system_health session; if deadlocks are expected but none show, check that system_health is running and that deadlock capture is enabled for this node in Settings. Recorded blocking episodes include only chains that last past the configured floor.
When this guide helps
- sql server blocking who is holding the lock
- sql server deadlock happened which queries
- how to find the lead blocker session in sql server
- sql server open transaction not committed session
- sql server queries waiting on locks lock wait
- sql server deadlock keeps recurring
- how to read a sql server deadlock graph
Steps
Step 1: Observe → Performance Analyzer → MSSQL → Deadlocks & Blocking
DoOn the MSSQL Performance Analytics page pick the node and open the 'Deadlocks & Blocking' tab. Choose the window with the range selector at the top right (1h, 6h, 24h, 7d, 30d); 'Filters' lets you narrow by database, application, object and more. Look first at the four tiles at the top and the 'Concurrency Intelligence' card if it is there.
Look forTiles: Deadlocks ('N patterns · N recurring'), Most frequent pattern, Active blocking ('N chains', 'N sessions blocked', 'root blocker SPID N'), Blocking impact. In the 'Concurrency Intelligence' card the findings, a severity badge and an 'Open' or 'Open in Query Intelligence' link.
How to read itThe tiles are compared with the equivalent preceding window ('vs previous period'); when the previous window was empty no percentage is invented and 'new in this window' is shown. 'Blocking impact' is the sum of every blocked session's wait, not the wall-clock length of the episodes (the tile's tip: ten seconds blocking a hundred sessions costs a thousand session-seconds). 'Active blocking' counts live chains right now; 'nothing blocked' means no blocking at the moment and 'last ended ...' says when it last ended. The 'Concurrency Intelligence' card appears only when a threshold and a minimum count are crossed; no card means nothing notable, not that nothing was computed. A finding's link takes you to the matching pattern, object or query.
Step 2: Observe → Performance Analyzer → MSSQL → Deadlocks & Blocking
DoOpen the 'Blocking' sub-tab. Read the 'Blocking right now' panel first (use 'Refresh' to reload), then go down to the 'Recorded blocking episodes' and 'Repeat offenders' tables.
Look forUnder 'Blocking right now' the root of each chain in a red box with 'SPID N' and a 'lead blocker' badge; login, program, database, 'blocking N sessions', and on the child sessions 'waiting time · WAIT_TYPE' and the query text. In the recorded episodes table Severity ('live', 'unknown end'), Lead blocker ('abandoned tx'), Longest wait, the cumulative blocked-wait column, Blocked, Depth, Database and Started. An expanded row shows 'Lead blocker statement' and 'Waiting sessions' (wait type, resource, time). In 'Repeat offenders' Statement, 'Ran as', Episodes, Sessions blocked and 'Worst / avg hold'.
How to read itThe root of a chain is the session to deal with; the tree starts from the root so that you do not have to rebuild the chain in your head. The wait type in a child session's tag and the resource in its tip say what it is waiting for. In the recorded episodes 'Depth' shows how many links deep the chain went, and above 1 it means a blocked session was itself blocking others; 'Blocked' separates sessions waiting on the root directly from those further down. The 'abandoned tx' tip: the session is idle inside an open transaction and the application did not commit, so terminating the session is the fix there, not a workaround. 'unknown end' means the episode was never closed (usually an agent restart): the incident is real but its end is unknown and the duration runs only to the last observation. 'Repeat offenders' groups the blocking statements; 'Open in Query Intelligence' opens the statement on the Queries tab. Recorded episodes include only chains past the configured floor; brief queuing is treated as normal concurrency and not kept.
- If you see: The root session sits idle in an open transaction and you want to see who opened it → Step 5
Step 3: Observe → Performance Analyzer → MSSQL → Deadlocks & Blocking
DoIf you decide to terminate the root session, click 'Kill' in that session's red box and choose 'Kill session' in the confirmation. Before deciding, read the session's query, login and program.
Look forIn the confirmation the title 'Kill session N?' and the text 'This rolls back its open transaction. Rollback of a long-running write can take as long as the work it is undoing.' After the action a 'Session N terminated' message and the panel reloading.
How to read itKill terminates a session and rolls back its open transaction; rolling back a long-running write can take as long as the work it undoes, and locks stay held meanwhile. This is a real change on the server: only Admin or DBA can run it. SQL Server's own background sessions (for example the AlwaysOn/FCI health monitor sp_server_diagnostics) cannot be terminated from ClusterEye; the API rejects the action when its live-session cache can tell the target is one. Finding out who owns the root and why the application did not commit prevents a repeat; if the statement in 'Repeat offenders' keeps recurring, the real fix is in the application.
Step 4: Observe → Performance Analyzer → MSSQL → Deadlocks & Blocking
DoOpen the 'Deadlocks' sub-tab. In the 'Recurring deadlocks' table, sorted by 'Impact', expand one of the patterns; the 'Graph' button opens the deadlock graph of the most recent occurrence. Also look at the 'Contended objects' and 'When they happen' cards below.
Look forIn the table Impact (severity and a /100 score), State (New, Recurring, Increasing, Stable, Resolved, Regressed), Contended (name, index and lock-mode tags), Occurrences (change against the previous period, 'lifetime'), Last seen, Database and Pattern. In an expanded row 'Diagnosis' (with a confidence percentage), 'Evidence' (the object sequence per SPID), 'Contributing factors', 'Recommended fixes' (Root-cause fix / Mitigation; Confidence, Impact, Risk), 'Rolled back (victim)', Applications and Logins. In the graph drawer ('SQL Server Deadlock') the 'Deadlock Graph' and 'Raw XML' tabs; on the first tab a 'Detailed Lock Information' table (Object, Index, Lock Mode, Lock Owner, Lock Waiter).
How to read itRows are patterns, not events ('grouped by what collided, not by when'): only grouping can answer whether '3 deadlocks' is one bug firing three times or three separate problems. A 'Regressed' state means a pattern that had stopped started again; the tip gives the number of quiet days. The Diagnosis card shows one verdict and its evidence beneath it; the confidence percentage says how far the captured evidence goes (derived from the graph's completeness and from how consistently the pattern repeats). 'Evidence' lays the access sequences side by side (for example A: orders → order_items, B: order_items → orders): if two sessions touch the same objects in opposite order, the bug becomes visible. The 'What this analysis cannot confirm' box states plainly where the evidence falls short; 'Analysis pending' means the pattern has not been analysed yet and the diagnosis arrives within a few minutes. 'Recommended fixes' lists root-cause fixes first and mitigations after; read each one's confidence, impact and risk and do not skip the 'Consequence' note. These recommendations are application or schema changes; ClusterEye does not apply them. 'Contended objects' ranks objects by damage rather than by deadlock count (the tip: an object behind a few long blocking episodes matters more than one in many deadlocks that each resolved instantly); the 'When they happen' heat map shows on which day and hour the events concentrate.
Step 5: Observe → Performance Analyzer → MSSQL → Transactions
DoOpen the Transactions tab (the heading is 'Transactions'), choose the time range and look at the 'Open transactions', 'Blocking' and 'Databases' cards.
Look forIn the 'Open transactions' table SPID, Login, Host, Program, Database, Open, 'Age / idle' ('idle time' in the warning colour), Log used and Blocked by; above the card the chips 'oldest (peak)', 'open (peak)', 'older than ... (peak)' and 'log pinned (peak)'. In the 'Blocking' card Blocked sessions (peak/avg), Longest chain, Deadlocks in range, Blocking episodes, Longest block and Top head blocker. In the 'Databases' card the 'Log reuse blocked', 'Write hotspots' and 'High active' filter tiles. From the tiles on top Version store, Log flush (WRITELOG) and Blocking.
How to read itA session that holds a transaction open and sits idle (the tip 'Idle with the transaction open') is the typical source of blocking; the 'Blocked by' column and the 'Top head blocker' line let you match it to the SPID from step 2. An open transaction pins the log: the 'log pinned (peak)' chip and 'Log reuse blocked' in the 'Databases' card (log_reuse_wait_desc other than NOTHING or CHECKPOINT means the log cannot truncate) show that effect. The Version store tile gives the size of the version store in tempdb and a 'generation > cleanup' warning, with the longest versioned transaction below. 'Write hotspots' and 'High active' are a workload trait, not a fault (the tile's tip says so). On an AG secondary the write counters measure redo apply of log shipped from the primary, not user writes. When 'Open transactions' shows a live view (because the cockpit carried none), it is a point-in-time snapshot taken through the agent.
- If you see: The log cannot truncate and the log/disk keeps growing → Capacity before the disk fills: which space, and how soon
Outcome
By the end you know the root of the blocking (the lead blocker session, its query and its open transaction) and which pattern, from which clash of object order, caused a deadlock. These screens only read; the one action is the 'Kill' button (Admin or DBA), which terminates the session and rolls back its open transaction. The recommended fixes for a deadlock (aligning the access order, adding an index, shortening the transaction and so on) are application or schema changes and are not applied from ClusterEye. For a plan problem in a slowing query see the 'A slowing SQL Server query: finding a plan change and comparing plans' guide.
Related guides
In MSSQL Performance Analytics use the Performance tab for the overall state of the instance, the Plan Changed mode of the Queries tab to find the query that changed plan, read Plan Insights in the drawer, compare the old and new plan with Compare Plans and, if needed, consider Query Store plan forcing.
Incident responseOn the Alarms page prioritise active alarms, read an alarm's detail, acknowledge and own it, snooze it or silence it with a maintenance window when needed, and close it as resolved.
Incident responseOn the Timeline page narrow the last 24 hours by severity, read an incident's root-cause summary and story, drill into raw events and, if needed, get a plain-language account with AI Explain.
CapacityOn PostgreSQL and SQL Server read which disk and which database is filling from the Volumes, Capacity Planning and Storage screens, and on Oracle from the Tablespaces tab; learn how to read the growth rate and the 'days until full' estimate.