|
|
|
|
Re: How to get Query execution time in seconds using "Show Timing" [message #614703 is a reply to message #614702] |
Mon, 26 May 2014 04:40 |
Lalit Kumar B
Messages: 3174 Registered: May 2013 Location: World Wide on the Web
|
Senior Member |
|
|
Are you talking about "Timing show" or "Set timing on"?
in either case, it is hours:minutes:seconds.hundredth_of_a_second
SQL*Plus: Release 11.2.0.1.0 Production on Mon May 26 15:06:14 2014
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning and Automatic Storage Management options
SQL> timing show;
SP2-0325: no timing elements to show
SQL> timing start t_start;
SQL> timing show;
timing for: t_start
Elapsed: 00:00:06.94
SQL> timing start t_start_2;
SQL> timing show;
timing for: t_start_2
Elapsed: 00:00:03.86
SQL> timing stop;
timing for: t_start_2
Elapsed: 00:00:10.77
SQL> timing show;
timing for: t_start
Elapsed: 00:01:04.20
SQL> timing stop;
timing for: t_start
Elapsed: 00:01:08.96
SQL> timing show;
SP2-0325: no timing elements to show
SQL>
[Updated on: Mon, 26 May 2014 04:48] Report message to a moderator
|
|
|
|
|
|
|