alter table test_table nologging;没有效果,redo日志还是一样多
create test_table as select * from all_objects where 1=0;
set autot on stat
insert into test_table select * from all_objects;
统计信息
-------------------------------
65137 recursive calls
4107 db block gets
69566 consistent gets
380 physical reads
5567760 redo size
668 bytes sent via SQL
576 bytes received via
4 SQL*Net roundtrips
371 sorts (memory)
0 sorts (disk)
49375 rows processed
然后我:alter table test_table nologging;后
再次:insert into test_table select * from all_objects;
还是显示:
统计信息
--------------------------------
6314 recursive calls
3860 db block gets
38841 consistent gets
78 physical reads
5536272 redo size
673 bytes sent via SQL*
576 bytes received via
4 SQL*Net roundtrips
20 sorts (memory)
0 sorts (disk)
49375 rows processed
redo信息为什么还是一样多?nologging不起作用?
我的是10G的,为什么9I的这样设置是可以的,设置nologging后redo信息只有1/10了。