Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Q: emulating SQLPLUS COPY
On 8 Apr 2002, igoriz_at_cmtk.net wrote:
> Thomas Kyte <tkyte_at_oracle.com> wrote in message
>> 1) the append hint on the insert will not do undo, it writes above >> the hwm of the table directly. If the table is 'nologging', it won't >> even generate redo >>
My guess is that the previous HWM is written to an undo and the rollback resets the HWM to that before you did the append. So, if this is the case, I guess undo is generated, but not in the sense of all rows inserted are generating undo, just directly when the operation starts a single piece of undo is generated.
SQL> insert into t1 select * from merchandise_hierarchy_tbl;
5026091 rows created.
Elapsed: 00:09:582.99
SQL> rollback;
Rollback complete.
Elapsed: 00:20:1208.07
SQL> insert /*+ append */ into t1 select * from merchandise_hierarchy_tbl;
5026091 rows created.
Elapsed: 00:10:624.68
SQL> rollback;
Rollback complete.
Elapsed: 00:00:00.80
Seems to be the case.
-- Galen deForest Boyer Sweet dreams and flying machines in pieces on the ground.Received on Mon Apr 08 2002 - 22:20:11 CDT