Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Bypass logging mechanism
Using TRUNCATE TABLE ... SQL command you can only truncate whole table
content (i.e. quickly remove all the table's records) avoiding non-system
rollback segment use (because this is DDL operation).
However if you need expedite deleting a row subset of the large table
TRUNCATE is not an option: you still have to use DELETE FROM ... command
which always generates the rollback info. The helpful trick here may be the
large table reload using one of the "direct" methods available with Oracle
Server's version your are running as the following:
Also you can use sql loader utility with direct load path pre-saving the row subset in o/s flat file (same idea).
Hope it helps.
Eugene.
<rrenzo_at_my-deja.com> wrote in message news:87e5fh$qu3$1_at_nnrp1.deja.com...
> How can I delete rows without letting Oracle log them?
> (ie. Truncate Table equivalent of MS Sql)
>
> When I delete all rows from a huge table; the rollback segment grows
> accordingly which is a waste of space (and time)...
>
> Thanx,
> Tony Cardalda.
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Fri Feb 04 2000 - 12:00:28 CST
![]() |
![]() |