Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Insert /*+ append */ always? (again)
Sorry for digging up this 3-month old thread. I can not seem to be
able to respond from the original post itself. Here, Tom Kyte
responded to Jonathan Lewis regarding direct insert, index and redo
consumption.
http://shrinkalink.com/275
I am particularly interested in this part from Tom:
and the results are:
2572664 redo size
7304 redo size
7114216 redo size
694948 redo size
this time...
So, the table adds about 2.5meg of redo -- meaning we saved about 2meg
on the
index.
which is about 6.4 - 2.6 = 3.8 meg, instead of 2meg? That means saving on the index side is even greater, about 50% greater than on the table side.
3. I turned off table logging (db runnig in NoArchive mode) and repeated the same steps and got nearly identical results.
4. The autotrace shows "sort" operation. Why does "insert into .. select from" cause a sort?
Can somebody shed some light on these?