Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 220697
0 votes

Purging SP getting deadlocked with App...Not able to completed understand Deadlock Graph

The query in the SP which is deadlocking is running in parallel (multi-threaded), Eric Darling's suggestion of MAXDOP 1 is good in that it eliminates parallelism as the casue of the deadlock. It is c …
Charlieface's user avatar
  • 14.5k
2 votes

What does the process shown in the deadlock graph represent?

The process ID in the deadlock graph is an internal ID that represents a particular Unit Of Work. It is not related to the operating system's process IDs. As far as the OS is concerned there is only o …
Charlieface's user avatar
  • 14.5k
0 votes

Deadlock on DELETE - DELETE for parallel execution of same stored procedure

It's hard to say for sure from just the textual plan, but it appears you have a join between scans of the table variable and the table you are deleting. The table variable is not sorted, so individual …
Charlieface's user avatar
  • 14.5k
3 votes
Accepted

What would cause this SQL Server deadlock?

Because you have no suitable index on the table, you get a full table scan. The table scan is going parallel, which means that access is happening out-of-order. You could solve this by using OPTION(MA …
Charlieface's user avatar
  • 14.5k