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, December 22, 2014 8:29 AM
Points: 13, Visits: 252
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


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, December 23, 2014 1:44 AM
Points: 1,001, Visits: 3,091
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: Thursday, December 18, 2014 12:03 AM
Points: 1,380, Visits: 2,708
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