SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Find Locks and Blocking sessions for a time period


Find Locks and Blocking sessions for a time period

Author
Message
harikumar.mindi
harikumar.mindi
SSC Eights!
SSC Eights! (851 reputation)SSC Eights! (851 reputation)SSC Eights! (851 reputation)SSC Eights! (851 reputation)SSC Eights! (851 reputation)SSC Eights! (851 reputation)SSC Eights! (851 reputation)SSC Eights! (851 reputation)

Group: General Forum Members
Points: 851 Visits: 607
Hi All,

I would like to find a way to find all types of locks which are more than 5secs and blocking processes which are for more than 10secs. I know we can use Profiler but this adds to the CPU burden on production. Is there an alternative to using profiler?
Sean Pearce
Sean Pearce
SSCrazy Eights
SSCrazy Eights (9.1K reputation)SSCrazy Eights (9.1K reputation)SSCrazy Eights (9.1K reputation)SSCrazy Eights (9.1K reputation)SSCrazy Eights (9.1K reputation)SSCrazy Eights (9.1K reputation)SSCrazy Eights (9.1K reputation)SSCrazy Eights (9.1K reputation)

Group: General Forum Members
Points: 9110 Visits: 3436
Profiler is a GUI interface to trace, which does put an extra load on the server. Run the trace server side instead.

There is a stairway series on server side traces at http://www.sqlservercentral.com/stairway/72363/



The SQL Guy @ blogspot

@SeanPearceSQL

About Me
SQLSACT
SQLSACT
SSChampion
SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)

Group: General Forum Members
Points: 12002 Visits: 3057
harikumar.mindi (8/13/2013)
Hi All,

I would like to find a way to find all types of locks which are more than 5secs and blocking processes which are for more than 10secs. I know we can use Profiler but this adds to the CPU burden on production. Is there an alternative to using profiler?


You can run a server-side trace, much better option
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search