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

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,777 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,636 questions
{count} votes

Accepted answer
  1. Seeya Xi-MSFT 16,471 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 111.1K Reputation points MVP
    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 Answers by the question author, which helps users to know the answer solved the author's problem.