Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Help with statspack report comparison
Hello,
[Oracle 9i2, Windows XP / Windows Server 2003]
I am currently trying to figure out why one of our sites has such a horrible performance. To this end I took statspack snapshots over the last few days from the "bad" site and from one "good" site and now I'm trying to compare two reports for both sites.
Both sites are running the same software with the same usage patterns.
The *good* (marked AT10) site is running on XPsp2 with one 7200RPM HD with a dual core P4 (3,4 GHz) and 1GB of RAM
The *bad* site (marked DE30) is running Win2003r2 with one 7200RPM HD with a dual core Xeon (2,13 GHz) and 2GB of RAM.
The most striking figure (for me, at this time at least) seems to be the <db file scattered read> timed events. The problem is that I am not too sure what to make of this.
It would be great if you could take a quick look at the infos below and just throw a few suggestions at me what might get me on the right track to find the problem and a solution for it.
Thanks!
- Martin
Good Site = *** AT10 ***
Bad Site = *** DE30 ***
( I hope the formatting won't get messed up. )
STATSPACK COMPARISON NUMBER 1
Cache Sizes (end)
Buffer Cache: 48M Std Block Size: 8K Shared Pool Size: 48M Log Buffer: 512K
*** DE30 ***
Snap Id Snap Time Sessions Curs/Sess Comment ------- ------------------ -------- --------- ------------------- Begin Snap: 7 20-Sep-07 16:41:06 35 29.7 End Snap: 8 20-Sep-07 17:01:12 33 28.3 Elapsed: 20.10 (mins)
Cache Sizes (end)
Buffer Cache: 24M Std Block Size: 8K Shared Pool Size: 48M Log Buffer: 512K
% Blocks changed per Read: 0.21 Recursive Call %: 82.26 Rollback per transaction %: 0.00 Rows per Sort: 775.87
% Blocks changed per Read: 0.04 Recursive Call %: 92.57 Rollback per transaction %: 0.00 Rows per Sort: 682.38
Shared Pool Statistics Begin End ------ ------ Memory Usage %: 93.44 92.32 % SQL with executions>1: 24.39 26.09% Memory for SQL w/exec>1: 23.05 24.63
Shared Pool Statistics Begin End ------ ------ Memory Usage %: 93.08 89.06 % SQL with executions>1: 23.79 26.42% Memory for SQL w/exec>1: 24.90 27.77
18,420,632 160 115,129.0 67.3 59.56 60.43
979285868
begin MONITOR.GET_VALUES_ON_SHIFT_CHANGE(:1,:2,:3,:4, :5); end;
3,578,182 1,057 3,385.2 13.1 133.70 136.14
3172615181
BEGIN MONITOR.COLLECT_CYCLIC_MACHINE_DATA; END;
1,719,956 22,636 76.0 6.3 83.83 84.29
1952305027
SELECT ID, STARTED, FINISHED FROM SHIFTS WHERE machi ne = :b2 AND STARTED <= :b1 ORDER BY STARTED desc 1,539,784 72 21,385.9 5.6 19.55 61.111163642282
47,854,480 6,286 7,612.9 75.8 120.13 127.97
395610491
SELECT MDT.ID , MB.Time_stamp TS_START , ME.Time_stamp TS_
END , VALIDATED_REASON , DECODE( SIGN(MB.Time_stamp - NVL
(:b4, sysdate)), -1,-- Zeit vor Setup-Ende DECODE( SIGN(900 - MDT.Validated_Reason), 1, -- manuelle Down times DECODE(MDT.Validated_Reason, 0, 0, 1, 0, 1), 8,351,896 214 39,027.6 13.2 57.36 3202.141163642282
2,317,372 216 10,728.6 3.7 14.84 1087.68
452266749
SELECT /*+ INDEX(mdt IX_MDT_1) */ DECODE(mdt.validated_reaso
n,NULL,NULL,DECODE(mdt.validated_reason,0,'U','A')) error_type,
t.text error_text, DECODE(mdt.validated_reason,NULL,NULL , DECODE( SIGN(NVL(po.end_setup, sysdate) - m.time_stamp), 1, -- in setup DECODE( 2,317,372 214 10,828.8 3.7 14.91 1087.861909573811