12
返回列表 发新帖
楼主: X_X

调优,帮忙分析一段StatSpack的报表

[复制链接]
论坛徽章:
3
授权会员
日期:2005-11-10 08:36:21ITPUB元老
日期:2005-11-10 08:36:01会员2006贡献徽章
日期:2006-04-17 13:46:34
11#
 楼主| 发表于 2005-3-10 13:02 | 只看该作者
好的,谢谢。
请问husthxd,db file scattered read 57,069 14,456 63.80
后面那3个数字分别代表什么意思?

使用道具 举报

回复
招聘 : 数据库管理员
论坛徽章:
66
ITPUB元老
日期:2005-07-16 18:49:11授权会员
日期:2005-10-30 17:05:33ITPUB新首页上线纪念徽章
日期:2007-10-20 08:38:44现任管理团队成员
日期:2011-05-07 01:45:08版主3段
日期:2012-05-15 15:24:11
12#
发表于 2005-3-10 13:54 | 只看该作者
最初由 X_X 发布
[B]好的,谢谢。
请问husthxd,db file scattered read 57,069 14,456 63.80
后面那3个数字分别代表什么意思? [/B]


次数/时间/百分比(点总等待的百分比)

使用道具 举报

回复
论坛徽章:
3
授权会员
日期:2005-11-10 08:36:21ITPUB元老
日期:2005-11-10 08:36:01会员2006贡献徽章
日期:2006-04-17 13:46:34
13#
 楼主| 发表于 2005-3-10 13:58 | 只看该作者
最初由 xzh2000 发布
[B]

次数/时间/百分比(点总等待的百分比)
[/B]

时间的单位是什么,秒吗?

使用道具 举报

回复
招聘 : 数据库管理员
论坛徽章:
17
会员2007贡献徽章
日期:2007-09-26 18:42:10ITPUB新首页上线纪念徽章
日期:2007-10-20 08:38:442010新春纪念徽章
日期:2010-03-01 11:20:05
14#
发表于 2005-3-10 14:36 | 只看该作者
是秒,注意一下报告,都告诉我们了

使用道具 举报

回复
论坛徽章:
168
马上加薪
日期:2014-02-19 11:55:142012新春纪念徽章
日期:2012-02-13 15:10:582012新春纪念徽章
日期:2012-01-04 11:49:54蜘蛛蛋
日期:2011-12-05 16:08:56ITPUB十周年纪念徽章
日期:2011-11-01 16:19:41设计板块每日发贴之星
日期:2011-07-22 01:01:02ITPUB官方微博粉丝徽章
日期:2011-06-30 12:30:16管理团队成员
日期:2011-05-07 01:45:082011新春纪念徽章
日期:2011-01-25 15:42:562011新春纪念徽章
日期:2011-01-25 15:42:33
15#
发表于 2005-3-10 15:09 | 只看该作者
最初由 X_X 发布
[B]
时间的单位是什么,秒吗? [/B]


      (s)  - a second
      (cs) - a centisecond - which is       100th of a second
      (ms) - a millisecond - which is     1,000th of a second
      (us) - a microsecond - which is 1,000,000th of a second

Waits Time (cs),单位为cs.

使用道具 举报

回复
论坛徽章:
168
马上加薪
日期:2014-02-19 11:55:142012新春纪念徽章
日期:2012-02-13 15:10:582012新春纪念徽章
日期:2012-01-04 11:49:54蜘蛛蛋
日期:2011-12-05 16:08:56ITPUB十周年纪念徽章
日期:2011-11-01 16:19:41设计板块每日发贴之星
日期:2011-07-22 01:01:02ITPUB官方微博粉丝徽章
日期:2011-06-30 12:30:16管理团队成员
日期:2011-05-07 01:45:082011新春纪念徽章
日期:2011-01-25 15:42:562011新春纪念徽章
日期:2011-01-25 15:42:33
16#
发表于 2005-3-10 15:13 | 只看该作者
如果数据库版本是9.2,The Top 5 Wait Events变为Top 5 Timed Events.

  o  The Top 5 Wait Events has been changed to be the Top 5 Timed Events.

     What was previously the Top 5 Wait Events has been expanded to give the
     Top 5 time usage within the instance: i.e. in addition to including Wait
     events, this section can now include the 'CPU used by this session'
     statistic.  This statistic will appear in the Top 5 only if it's value
     is one of the the Top 5 users of time for the snapshot interval.

         Note that the name of the statistic 'CPU used by this session' will
         actually appear in the Top 5 section as 'CPU Time'.  The statistic
         name is masked in the Top 5 to avoid the confusion of the suffix
         'by this session'.
         The statistic will continue to appear in the System Statistics
         (SYSSTAT) section of the report as 'CPU used by this session'.

     Additionally, instead of the percentage calculation being the % Total
     Wait Time (which is time for each wait event divided by the total wait
     time for this snapshot interval), the percentage calculation is now
     % Total Elapsed Time (which is time for each timed event divided by
     the total elapsed time).
     i.e.
       previously:  time for each wait event  / total wait time for all events
       now:         time for each timed event / total elapsed time

     The total elapsed time is computed using the total wait time for all
     events added to the total CPU time used for the interval
     i.e.
       total elapsed time = total wait time + total CPU time

     Purpose
     ~~~~~~~
     The purpose for including CPU time with wait events:

     When tuning a system, the first step is to identify where the most of the
     time is spent, in order to identify where the most productive tuning
     effort should be concentrated.

     The majority of time could be spent in waiting for events to complete
     (and so be identifyable in the wait event data), or the system could be
     consuming much CPU (for which Operating System statistics, and the Oracle
     CPU statistic 'CPU used by this session' in SYSSTAT are examined).
     Having the CPU Time co-located with the wait events in the Top 5 section
     of the instance report makes it easier to compare the relative values
     and to identify whether the most productive investigation would occur
     by drilling down the wait events, or in reducing Oracle CPU usage
     (e.g. by tuning SQL).

可以参考oracle自带的statspack文档:
%ORACLE_HOME%\rdbms\admin\statspack.doc

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表