Hello,
How would i find the execution time of Package or a procedure …
when i right click on procedure and then select execute procedure, it executes saying the pl/SQL procedure successfully completed ....But how would i know, how long it took to run the procedure....???
I m looking for something similar to the elapsed time in sql plus…when you run a procedure it gives you an execution time …
Or additionally, add the following command prior to your “exec” call:-
Set timing on
It’s the easy way I get a client side measure of the time the call to a
procedure took. Of course, as previously mentioned, the profiler is much
better, and measures things on the server side rather than the client
side.
Regards,
Mike McAllister
Principal Systems Engineer
TKC Global, LLC
Phone: 512 423 7447
Email: michael@pairofsixes.com
If you bring up your SP/function in schema browser and right-click and try to execute the same, you would get a window like below (my example takes 2 params and it is a function):
If you cut/paste this in your Toad Editor window and bulk execute (icon saying “Execute as Script”), it would give the execution time, just like a normal sql execution.