Home All Groups Group Topic Archive Search About
Author
30 Jun 2005 2:16 PM
Ed
Hi,
  Does anyone have any samples about what I need to capture in SQL Profile
in order to look at the Lock/DeadLock situation?

Thanks
Ed

Author
30 Jun 2005 2:36 PM
Alejandro Mesa
How to monitor SQL Server 2000 blocking
http://support.microsoft.com/default.aspx?scid=kb;en-us;271509

Tracing Deadlocks
http://www.sqlservercentral.com/columnists/skumar/tracingdeadlocks.asp


AMB

Show quote
"Ed" wrote:

> Hi,
>   Does anyone have any samples about what I need to capture in SQL Profile
> in order to look at the Lock/DeadLock situation?
>
> Thanks
> Ed
Author
30 Jun 2005 2:53 PM
Narayana Vyas Kondreddi
In Profiler, look in the 'Locks' event class category for deadlock related
events. Alternatively you can log detailed information about a deadlock into
SQL Server error log using the following command:

DBCC TRACEON(1204, 3605, -1)

These flags stay active untill the SQL Server service is restarted. If you
want them to be in permanently, you will have to add them as trace flags,
using -T parameter, from the Enterprise Manager Server properties dialog
box.
--
HTH,
Vyas, MVP (SQL Server)
SQL Server Articles and Code Samples @ http://vyaskn.tripod.com/


"Ed" <E*@discussions.microsoft.com> wrote in message
news:69A29D8C-10DD-46A7-97C6-7EED13216457@microsoft.com...
Hi,
  Does anyone have any samples about what I need to capture in SQL Profile
in order to look at the Lock/DeadLock situation?

Thanks
Ed

AddThis Social Bookmark Button