Questions tagged [deadlock-graph]
The deadlock-graph tag has no usage guidance.
16
questions
0
votes
0
answers
36
views
Deadlock with Tablock on table with clustered columnstore index and partitions
I have table with clustered columnstore index and partitions
When i`m try to insert data into it with tablock hint, query got a deadlock.
INSERT INTO Cohort_Staging WITH (TABLOCK) (
[...
0
votes
2
answers
77
views
SQL Server - Exclusive lock taken by a SELECT statement - Why?
I'm trying to make sense of why SQL Server (2014) is placing an eXclusive key lock during a deadlock scenario. I've pasted the entire deadlock graph below.
I'm confused because the deadlock is ...
-1
votes
2
answers
73
views
What does the process shown in the deadlock graph represent?
I have a windows application that is used by multiple users, often there are deadlocks in the database related to lock resources.
Looking at the deadlock graph I see 2 processes and 2 resources, ...
0
votes
1
answer
122
views
How to capture the exact SQL text involved in deadlock (locks) using extended events?
I have setup extended event session with the following event:
xml_deadlock_report
When I look at the deadlock graph, it shows me the processes asking or requesting for the resource, and the type of ...
0
votes
1
answer
115
views
What would cause this SQL Server deadlock?
I have a node.js script that is attempting to geocode records in a table. The script selects 100 records at a time that do not have lat/log data, geocodes them using a third party api and writes the ...
0
votes
0
answers
87
views
Help on understanding deadlock
A deadlock issue is encountered when adding column to an existing table, from my attempt to understand the graph, a linked server calling sp_columns_100_rowset is having an update lock on sysschobjs, ...
2
votes
0
answers
139
views
Unhandled Deadlocks with SQL Server 2017 [closed]
We’re running into issues with unresolved deadlocks on the most recent version of SQL-Server 2017, has anybody seen a problem like this before?
Detailed explanation: We migrated our database from ...
1
vote
1
answer
52
views
Deadlock Detection | Should the node T4 point to T1 and T2? [closed]
This example regarding deadlock detection was shown during one of my lectures and I have a doubt about it. The image is shown below.
For deadlock detection mechanism, why does T4 point only to T2 and ...
0
votes
0
answers
143
views
SQL Server : Deadlock is happening even with small batch size
We have a stored procedure which purges old data. We do the purging on daily basis during off-business hours. Also we do purging in small batches. But in the 5 hour window of purging, we see around 2 ...
2
votes
1
answer
1k
views
What does exchangevent indicate in SQL deadlock graph?
Have a deadlock XDL file with several exchange events listed. Not sure if these are good or bad or what causes them. What causes exchange events in SQL deadlock graph?
<exchangeEvent id="...
1
vote
1
answer
74
views
Purging SP getting deadlocked with App...Not able to completed understand Deadlock Graph
We have a stored procedure which purges old data. On a regular basis, it is getting deadlocked with an application stored procedure. Below is the deadlock graph:
Deadlock XML:
<deadlock> <...
2
votes
1
answer
295
views
Postgres 9.5 deadlock with many updates on a table + many "select for update" on another table
I have two tables: "machines" and "magictools". "magictools" refers to "machines" with a foreign key.
I face a deadlock problem while executing many of these ...
1
vote
1
answer
112
views
Why is a Shared lock blocking on an IX lock when Read Committed Snapshot is enabled?
Our system has randomly started deadlocking in areas where it previously had not, and an analysis of the deadlock graph looks like it should not even be happening to begin with. Here is a screenshot ...
5
votes
1
answer
1k
views
SQL Server Deadlock between two selects and one update on one table
Our application encounters a deadlock every now and again (about once a week).
The main culprit seems to be a query with two selects. One of them is to fill a temp table for performance reasons, the ...
0
votes
1
answer
79
views
Unusual deadlock occuring
I have spent a few days trying to debug a deadlock that occurs in production. This is one I didn't understand however.
Below is pseudo code for the stored procedure. The stored procedure generates a ...
5
votes
1
answer
397
views
Deadlock Graph - Surviving Statement inputbuf does not show the object that was locked
I have captured a deadlock on my system and the (anonymised) XML output is as follows:
<deadlock>
<victim-list>
<victimProcess id="processf4d9233468" />
</victim-...