AWR--service statistics

    近期发现一个奇怪的现象,数据库报告上看负载非常高。可是cpu和等待事件都非常低,不知道消耗的资源跑到哪里去了?


Snap Id
Snap Time Sessions Cursors/Session
Begin Snap: 5073 17-5月 -14 04:00:20 127 78.8
End Snap: 5074 17-5月 -14 05:13:36 363 19.5
Elapsed:   73.27 (mins)    
DB Time:   1,196.25 (mins)    

Top 5 Timed Events

Event Waits Time(s) Avg Wait(ms) % Total Call Time Wait Class
latch: library cache 3,174 6,933 2,184 9.7 Concurrency
latch free 977 6,530 6,684 9.1 Other
latch: shared pool 4,021 1,929 480 2.7 Concurrency
cursor: pin S wait on X 82,902 1,620 20 2.3 Concurrency
CPU time   1,073   1.5  

Service Statistics

  • ordered by DB Time
Service Name DB Time (s) DB CPU (s) Physical Reads Logical Reads
SYS$USERS 67,080.30 454.30 43,604 15,183,498
scmis 4,523.20 588.30 0 22,868,201
SYS$BACKGROUND 0.00 0.00 109 77,783

      能够看到数据库软件消耗的资源不多。

      找到问题症结:再看servicestatistics总的SYS$USERS消耗最多,这个是何方圣神呢?官方文档的解释:the SYS$USERS serviceis the default service name used when a user session is established withoutexplicitly identifying its service name。就是说SYS$USERS这是一个缺省的服务名,当用户的session建立的时候没有明白的标示符。

     那说明此时有其它的服务在数据库server上跑。仅仅实用操作系统层面上做诊断。用shell写一个top的脚本监控一下,是哪个进程导致。最后诊断出是数据库server在某个时间段不响应。简单的说是硬件的问题。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值