Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

identifying locks or queries with longer locks

$
0
0

Hi,

How can I identify longers locks in a database?

is it possible to validates which locks (row, page or table level) will be used by specific queries / views? (is the execution plan identify this?)

the longer locks are too quick to be trapped using sp_locks.

I'll use the profiler to track the database activity,

but maybe there is a query which can be used in SQL to simplify this process and quickly identify the latest locks and the reasons (query locked vs query locking)


Viewing all articles
Browse latest Browse all 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>