Deadlock issue help

SQLDBA 21 Reputation points
2021-07-22T15:28:52.45+00:00

I am new and learning more about deadlock. recently we got this in production environment and not sure what it is telling me. Any help to resolve this, really appreciate it.

117139-image.png

index code:

CREATE NONCLUSTERED INDEX [IX_arb] ON [dbo].[arb]
(
[set_id] ASC
)
INCLUDE([it_flg],[con_cd],[h_s],[e_cd])
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF,
DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON,
FILLFACTOR = 100) ON [INDEXES]
GO

Developer technologies | Transact-SQL
Developer technologies | Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
SQL Server | Other
{count} votes

Answer accepted by question author
  1. Seeya Xi-MSFT 16,676 Reputation points
    2021-07-23T07:47:35.007+00:00

    Hi @SQLDBA ,

    A deadlock occurs when two or more tasks permanently block each other by each task having a lock on a resource which the other tasks are trying to lock.
    Could you post the specific content of each query clearly (these are two processes)?

    Best regards,
    Seeya

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Erland Sommarskog 129.1K Reputation points MVP Volunteer Moderator
    2021-07-22T21:33:20.363+00:00

    The deadlock graph may look pretty, but it has too little information to actually explain why the deadlock happened. You need the the full XML for the deadlock to have all details. If you still have that around, you can post it here for analysis.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.