You need to identify which transaction causes the deadlock

You are troubleshooting an application that runs a query. The application frequently causes deadlocks. You
need to identify which transaction causes the deadlock. What should you do? More than one answer choice
may achieve the goal. Select the BEST answer.

You are troubleshooting an application that runs a query. The application frequently causes deadlocks. You
need to identify which transaction causes the deadlock. What should you do? More than one answer choice
may achieve the goal. Select the BEST answer.

A.
Create an extended events session to capture deadlock information.

B.
Query the sys.dm_exec_requests dynamic management view.

C.
Create a trace in SQL Server Profiler that contains the Deadlock graph event.

D.
Query the sys.dm_exec_sessions dynamic management view.



Leave a Reply 0

Your email address will not be published. Required fields are marked *