Oracle Internals
JulianDyke.com

Welcome

Seminars

Consultancy

Calendar

Presentations

Diagnostics

Internals

References

Acknowledgements

Parameters

TIMED_STATISTICS

Version Type Default Session
Modifiable
System
Modifiable
7.3.4 Boolean FALSE Yes Immediate
8.0.4 Boolean FALSE Yes Immediate
8.0.5 Boolean FALSE Yes Immediate
8.0.6 Boolean FALSE Yes Immediate
8.1.5 Boolean FALSE Yes Immediate
8.1.6 Boolean FALSE Yes Immediate
8.1.7 Boolean FALSE Yes Immediate
9.0.1 Boolean FALSE Yes Immediate
9.2.0 Boolean FALSE Yes Immediate

This parameter enables the recording of timed statistics. These are included in the output of 10046 trace.

The parameter can be set in the initialisation file e.g.

    timed_statistics = TRUE

This parameter can be set at system level e.g.

    ALTER SYSTEM SET timed_statistics = TRUE

This parameter can be set at session level e.g.

    ALTER SESSION SET timed_statistics = TRUE

When TIMED_STATISTICS is enabled statistics are generated for the following

  • PARSE, EXEC and FETCH CPU costs in trace files
  • V$WAITSTAT
  • V$FILESTAT and V$TEMPSTAT
  • V$SYSSTAT and V$SESSTAT timed statistics

Statistics affected by enabling TIMED_STATISTICS include

CPU used when call started
CPU used by this session
parse time cpu
parse time elapsed
redo write time
session connect time

Wait times are recorded in V$SESSION_EVENT, V$SYSTEM_EVENT and V$SESSION_WAIT irrespective of the setting of TIMED_STATISTICS (9.2.0)