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