Re: advice for massive delete querry

  • From: Mladen Gogala <mgogala@xxxxxxxxxxxxxxxxxxxx>
  • To: jclarke@xxxxxxxxxxxxxxx
  • Date: Thu, 01 Sep 2005 00:51:33 -0400

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

--
//www.freelists.org/webpage/oracle-l

Other related posts: