Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
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
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Friday, November 18, 2016 9:50 AM
Points: 1,525, Visits: 3,573

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


Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Yesterday @ 2:27 PM
Points: 501, Visits: 1,912
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