Hi folks, In this article “Trace deadlock sql profiler”, we are going to learn, how we can capture a deadlock in a graphical form in sql server using an inbuilt tool of sql server named “SQL Server Profiler”.
First of all note that, don’t try to reproduce this sample deadlock and start SQL Server Profiler trace on your production server unless you are well versed of Profiler and event tracing. I recommend to do all these stuffs on you local machine to learn capturing deadlocks using SQL Server Profiler.
We are going to cover below points in this article;
- What is a deadlock?
- How to create a demo purpose deadlock?
- Using SQL Server Profiler to capture deadlock details and graphs.
- Understanding the deadlock important events in sql server profiler.
What is a deadlock?
A short note on deadlock:
Deadlock occurs when two sessions are waiting for a lock to clear … More