|SQL*Plus® User's Guide and Reference
|PDF · Mobi · ePub|
TIMI[NG] [START text | SHOW | STOP]
Sets up a timer and makes text the name of the timer. You can have more than one active timer by STARTing additional timers before STOPping the first; SQL*Plus nests each new timer within the preceding one. The timer most recently STARTed becomes the current timer.
Enter TIMING with no clauses to list the number of active timers. For other information about TIMING, see SET AUTOTRACE
See the SET TIMING command for information on automatically displaying timing data after each SQL command or PL/SQL block you run.
To delete all timers, use the CLEAR TIMING command.
To create a timer named SQL_TIMER, enter
TIMING START SQL_TIMER
To list the current timer's title and accumulated time, enter
To list the current timer's title and accumulated time and to remove the timer, enter