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

Home -> Community -> Usenet -> c.d.o.server -> need help tuning a very large delete

need help tuning a very large delete

From: Ryan Gaffuri <rgaffuri_at_cox.net>
Date: 17 Sep 2003 12:45:59 -0700
Message-ID: <1efdad5b.0309171145.77216dac@posting.google.com>


Stage Table has 17 million records with Delete_column = 'Y';

MAster has 27 million records.

so I need to
delete from master
where master.pk = stage.pk
and stage.pk = 'Y';

i tried writing a 'create table as' with a 'not exists' and was running for 8 hours. killed it. didnt even go to 'killed' status which means the DML hadnt even started it.

I tried doing the following: but cant get the outer join right. Is that faster than a minus?

any ideas? Received on Wed Sep 17 2003 - 14:45:59 CDT

Original text of this message

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