Check Response Time & Runtime of Oracle SQL Statement

Share this article :


You can measure the time taken when you are executing an SQL statement in Oracle database environment.


1. In SQL session of your Oracle database, execute the command to activate the timing.

SQL> set timing on;

2. This will compute the time taken everytime you executing any SQL statements. As below example, time taken to execute below command is 1.32 seconds.

SQL> select count(*) from sapsr3.vbrk where mandt='900';


Elapsed: 00:00:01.32

3. To turn this timing off, execute below command.

SQL> set timing off;

Related posts

V$ARCHIVE: Redo Log Files for Archiving
Find Last Patches/Upgrade on Oracle
Relink Oracle Binaries
OPatch: Prerequisite check "CheckActiveFilesAndExecutables"
© 2018 ITsiti. All Rights Reserved
Powered by KEEM