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

Calculate amount of time taken to create a execution plan Expand / Collapse
Author
Message
Posted Wednesday, April 10, 2013 12:32 PM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Monday, July 21, 2014 3:43 PM
Points: 1,274, Visits: 2,936

I have a sproc which i run manually, i am interested to know how much time does it take to create the plan from scratch of the total execution time?
Post #1440977
Posted Wednesday, April 10, 2013 6:17 PM


SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

Group: General Forum Members
Last Login: Tuesday, June 24, 2014 1:06 PM
Points: 442, Visits: 1,123
SET STATISTICS TIME ON;
EXEC YourProcedureNameGoesHere;

Then check the 'Messages' output window.

You may need to force a recompile of your proc before running it in order to see the compilation time (no compile time if it's already in cache).


Eddie Wuerch
MCM: SQL
Post #1441073
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse