Monitoring Lock Activity in SQL Server

To monitor the performance of a system, you need to keep track of locking activity in SQL Server. The following are the most commonly used methods to do so:

Image Querying the sys.dm_tran_locks dynamic management view directly

Image Viewing locking activity with SQL Server Profiler

Image Monitoring locks with Performance Monitor

As you read through the rest of this chapter, you might want to examine or monitor the locking activity ...

Get Microsoft® SQL Server 2012 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.