ITPub博客

首页 > 应用开发 > IT综合 > Timed Statistics

Timed Statistics

原创 IT综合 作者:shiyihai 时间:2007-10-15 12:15:06 0 删除 编辑

Waits are timed if and only if the TIMED_STATISTICS parameter is set to TRUE.Let me endorse what others have said before, that the overhead of timed statistics is negligible. If you need to convince yourself, use the SET TIMING ON command in SQL*Plus to measure the elapsed time of a benchmark query. Use an otherwise idle system and take ten or more measurements with and without timed statistics. You will be hard pressed to discern any significant difference.

[@more@]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.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/38542/viewspace-976708/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: Two extremes in life
请登录后发表评论 登录
全部评论
  • 博文量
    235
  • 访问量
    1707872