本帖最后由 wei-xh 于 2012-12-25 11:29 编辑
yanggq 发表于 2012-12-25 11:00
你的内存太小了,
4 KB redo会增加很多的redo log量,我的测试环境中基本翻番.
你的事物是CPU Bind or IO B ...
内存是不大,只要没SWAP,也没FR,SR就可以了。
如果你的系统事务很小,用4K,会增加日志浪费,如果你的系统事务数超大,日志浪费量就非常少了,在我的系统里,还能减少日志浪费。
323218 consistent gets
67818 execute count
0 parse count (hard)
67826 parse count (total)
10529841 redo size
1898 redo writes
0 sorts (disk)
0 sorts (memory)
0 sorts (rows)
9665 user commits
2394 Oracle IOPS
17 Oracle MBPS
value/seconds statistic_name
--------------- ---------------------------------------------------------------
239894 consistent gets
55229 execute count
0 parse count (hard)
55225 parse count (total)
8462503 redo size
530 redo writes
0 sorts (disk)
0 sorts (memory)
0 sorts (rows)
7879 user commits
912 Oracle IOPS
11 Oracle MBPS
第一个是4K的数字,第二个是512字节的数字。
sys@ORCL>select 8462503/7879 from dual;
8462503/7879
------------
1074.058
sys@ORCL>select 10529841/9665 from dual;
10529841/9665
-------------
1089.48174
每次事务产生的REDO量几乎是一样的。