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

Doing a check on blocking in the last few hours - use sysprocesses dmv?

$
0
0

I want to see blocking that is not only happening now, but has happened in the past few hours.  Additionally, Id like to capture the statement that was causing it.

Can I use a combination of Sysprocess and DBCC Inputbuffer to get this?  Im building a "logging" DB to capture various metrics about several databases and systems.


Viewing all articles
Browse latest Browse all 12963

Trending Articles



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