- 最后登录
- 2023-8-16
- 在线时间
- 1686 小时
- 威望
- 2135
- 金钱
- 50532
- 注册时间
- 2011-10-12
- 阅读权限
- 200
- 帖子
- 5207
- 精华
- 39
- 积分
- 2135
- UID
- 2
|
2#
发表于 2012-3-7 20:53:11
odm finding:
Elapsed: 120.34 (mins)
DB Time: 143.84 (mins) ==> 负载轻微
Event Waits Time(s) Avg wait (ms) % DB time Wait Class
db file sequential read 758,411 4,062 5 47.07 User I/O
DB CPU 3,609 41.82
log file sync 46,317 453 10 5.25 Commit
db file scattered read 44,772 177 4 2.05 User I/O
gc current block 2-way 353,850 123 0 1.43 Cluster
db file sequential read ==》 avg wait 5ms 主要等待事件
Wait Class Waits %Time -outs Total Wait Time (s) Avg wait (ms) %DB time
User I/O 856,588 0 4,441 5 51.46
DB CPU 3,609 41.82
Commit 46,317 0 453 10 5.25
User I/O 是2节点的主要性能瓶颈, 体现在db file sequential read上
Segments by Physical Read Requests
Total Physical Read Requests: 929,502
Captured Segments account for 57.6% of Total
Owner Tablespace Name Object Name Subobject Name Obj. Type Phys Read Requests %Total
USERHXRM TSP_ZHUYUAN Z_YIZHUFASONG TABLE 192,296 20.69
USERHXRM TSP_ZHUYUAN Z_FEIYONG TABLE 70,148 7.55
Segments by Physical Reads
Total Physical Reads: 4,166,127
Captured Segments account for 71.1% of Total
Owner Tablespace Name Object Name Subobject Name Obj. Type Physical Reads %Total
USERHXRM TSP_ZHUYUAN Z_YIZHUFASONG TABLE 2,216,970 53.21
对Z_YIZHUFASONG这张表的 物理读 占了总物理读的一半以上
值得注意的一点是
table fetch continued row 1,013,245 140.33 21.75
continued row fetch 每秒 有 140次 , 说明系统中存在 链式行或迁移行 , 可能就在Z_YIZHUFASONG 上,建议对该表做chained rows analyze .
Component Min Size (Mb) Max Size (Mb) Avg Size (Mb) Re- Sizes Grows Shrinks
DEFAULT buffer cache 2,016.00 2,016.00 2,016.00 12 0 12
shared pool 2,464.00 2,464.00 2,464.00 12 12 0
buffer cache 发生过 12次 shrink
从 Buffer Pool Advisory 看 加大 buffer cache 可以有效减少物理读,
根据Buffer Pool Advisory 若buffer cache 加大到3,840MB , 可以减少 70%的物理读。 |
|