Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: advice for massive delete querry

Re: advice for massive delete querry

From: Mladen Gogala <mgogala_at_allegientsystems.com>
Date: Thu, 01 Sep 2005 00:51:33 -0400
Message-ID: <431688D5.5020404@allegientsystems.com>


John Clarke wrote:

>I'm with Mark - create a scratch table (nologging of course, PCTAS maybe)
>with all the data you want to keep, truncate the original table, and
>direct-path insert rows from the scratch table back into the original. Drop
>the scratch table when done.
>
>

All this effort for measly 150M? Increasing buffer pool, making sure that there is enough undo and disabling indexes should do the trick. With parallel DML, it would probably be gone in a hour.

-- 
Mladen Gogala
Oracle DBA
Ext. 121

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Aug 31 2005 - 23:53:38 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US