Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Insert append generating redo
Stephane,
I don't understand what you mean when you say you can select on t1 before any commit.
I just tried this on an 8.1.7 database, and there was a signicant reduction in redo. There was only 668 bytes of redo generated vs. 2320 (see below). I think some redo will still be generated as you allocate extents (my tablespace is dictionary managed).
Rob Pegram
Oracle Certified DBA
Table created.
SQL> alter table t nologging;
Table altered.
SQL> delete from t;
15 rows deleted.
SQL> commit;
Commit complete.
SQL> select value
from v$mystat, v$statname where v$mystat.statistic# = v$statname.statistic# and v$statname.name = 'redo size' VALUE
117720
SQL> insert /*+ append */ into t as select * from
dba_users;
insert /*+ append */ into t as select * from dba_users
*
SQL> insert /*+ append */ into t select * from dba_users;
15 rows created.
SQL> commit;
Commit complete.
SQL> select value
from v$mystat, v$statname where v$mystat.statistic# = v$statname.statistic# and v$statname.name = 'redo size' VALUE
118388
SQL> delete from t;
15 rows deleted.
SQL>
SQL> commit;
Commit complete.
SQL> select value
from v$mystat, v$statname where v$mystat.statistic# = v$statname.statistic# and v$statname.name = 'redo size' VALUE
123856
SQL> insert into t select * from dba_users;
15 rows created.
SQL> commit;
Commit complete.
SQL> select value
from v$mystat, v$statname where v$mystat.statistic# = v$statname.statistic# and v$statname.name = 'redo size' VALUE
126176
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Robert Pegram INET: pegramrg_at_yahoo.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Tue Apr 09 2002 - 14:35:42 CDT
![]() |
![]() |