, , NOLOGGING UNDO REDO INSERT.
, NOLOGGING DML UNDO REDO. NOLOGGING DML, , INDEX. , NOLOGGING INSERT.
drop table table_no_index;
drop table table_w_log_index;
drop table table_w_nolog_index;
select name, value from v$mystat natural join v$statname where display_name in ('undo change vector size', 'redo size') order by 1;
create table table_no_index(a number) nologging;
insert into table_no_index select level from dual connect by level <= 100000;
commit;
select name, value from v$mystat natural join v$statname where display_name in ('undo change vector size', 'redo size') order by 1;
create table table_w_log_index(a number) nologging;
create index table_w_log_index_idx on table_w_log_index(a);
insert into table_w_log_index select level from dual connect by level <= 100000;
commit;
select name, value from v$mystat natural join v$statname where display_name in ('undo change vector size', 'redo size') order by 1;
create table table_w_nolog_index(a number) nologging;
create index table_w_nolog_index_idx on table_w_nolog_index(a) nologging;
insert into table_w_nolog_index select level from dual connect by level <= 100000;
commit;
select name, value from v$mystat natural join v$statname where display_name in ('undo change vector size', 'redo size') order by 1;
. . № 2 № 3 UNDO REDO.
redo size 35,436
undo change vector size 10,120
redo size 88,460
undo change vector size 21,772
redo size 6,895,100
undo change vector size 3,180,920
redo size 13,736,036
undo change vector size 6,354,032