高级复制中mlog$表的HWM过高导致性能问题
针对高级复制中由于mlog$表的HWM过高导致的性能问题进行了详细的讲解,更多内容请参考下文:某系统升级后,报告事务端的数据库反应非常慢,用户大量投诉。 $Q;C#yVD-C a4o0K
le_KS/R
现场检查系统后,发现CPU占用到了80%(平时该系统正常时只有10%~20%)。wio也非常高(说明磁盘读写严重)。一段时间后,现场将statspack报告发回来了:
STATSPACK report for
DB Name DB Id Instance Inst Num Release Cluster Host &e$d+V8`~&`$h)^
0c c#ht4^Q T `4Q*t
------------ ----------- ------------ -------- ----------- ------- ------------ ?*kntS"Q#C
OLTPDB 3781951398 OLTPDB 1 9.2.0.5.0 NO jnaip21 2f&Kn,~G#BL L Y
1K4v F I| b]
Snap Id Snap Time Sessions Curs/Sess Comment 5q2j?^:|V_;@0`
M _t {X?
------- ------------------ -------- --------- -------------------
Begin Snap: 3 27-Sep-04 13:15:58 32 83.4
End Snap: 4 27-Sep-04 14:10:36 37 83.4 G1M)~TA z2L1}'G2D1R
qF8Q s\nU3U$B~
Elapsed: 54.63 (mins) @;vn(D4| j
Cache Sizes (end)
Y.gIjdE t1[aF
~~~~~~~~~~~~~~~~~
2bgdek/Ae x4|$oru
Buffer Cache: 720M Std Block Size: 8K Ox?zNR%x
w u[5Da1}[
Shared Pool Size: 112M Log Buffer: 512K g `V+P:Kg
? j5?DF.{F!f/H
Load Profile
~~~~~~~~~~~~ Per Second Per Transaction kQTz})Uy,\ A
--------------- ---------------
Redo size: 11,763.97 7,400.17
Logical reads: 8,251.68 5,190.75
Block changes: 83.17 52.32
Physical reads: 2,488.23 1,565.23 ~.qqP7r
O*Jm9?Yl4soE
Physical writes: 6.15 3.87 XV L%V@'V4P(qf
User calls: 411.88 259.09 x$q:F(E/z"tI
.vpxy/m
Parses: 56.57 35.59