Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Find Locks and Blocking sessions for a time period Expand / Collapse
Author
Message
Posted Tuesday, August 13, 2013 5:53 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Monday, July 21, 2014 8:21 AM
Points: 11, Visits: 204
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?
Post #1483671
Posted Tuesday, August 13, 2013 8:05 AM


SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: 2 days ago @ 11:15 AM
Points: 824, Visits: 2,655
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
Post #1483752
Posted Wednesday, August 14, 2013 7:45 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: 2 days ago @ 1:01 AM
Points: 1,375, Visits: 2,660
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

Post #1484291
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse