How do I find out the time taken by oracle to execute the sql statement or a procedure? Is it possible by firing a select?

Questions by mkatpatal   answers by mkatpatal

Showing Answers 1 - 1 of 1 Answers

Nishanth

  • Aug 17th, 2006
 

For ORACLE to display the amount of time it takes to execute a statement or procedure in the SQL window you need to set some environmental,in this case you have to execute the following statement

SQL> set timing on

after doing this execute a simple satement like

SQL> select sysdate from dual;

You will get the output as follows with the elapsed time below it as follows...

SYSDATE
---------
17-AUG-06

Elapsed: 00:00:00.62

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions