Without timed statistics, Oracle records the reason for each wait before it begins to wait,and when the wait is over, it records whether it timed out. But with timed statistics enabled, Oracle checks the time just before and after each wait,and also records the time waited. The time waited is recorded in hundredths of a second— that is, centiseconds.
true
The statistics are collected and stored in trace files or displayed in the V$SESSTATS and V$SYSSTATS dynamic performance views.
false
The valueofall time-related statistics issetto zero. This setting lets Oracle avoid the overhead of requesting the time from the operating system.
Starting withrelease 11.1.0.7.0, the valueof the TIMED_STATISTICS parameter cannot be settofalseif the valueof STATISTICS_LEVEL issetto TYPICAL orALL.
在timed_statistics = false时,我们只能够知道这些等待时间的次数(records the reason for each wait ), 以及等待时间timed out的次数(records whether it timed out)
在timed_statistics = true时,我们可以知道系统在某个具体的等待事件上等待的时间(records the time waited),这样我们就可以判断具体是什么原因导致我们的系统变慢或者跟踪数据库进行的操作,有了这些时间信息可以确定等待事件在哪个时间段出现比较频繁。时间的统计信息会被更新到V$SESSTATS和V$SYSSTATS视图中。11.1.0.7以后如果STATISTICS_LEVEL被设置为typical或者all,则不能将timed_statistics设置为false