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 -> Re: need help tuning a very large delete

Re: need help tuning a very large delete

From: Ron Reidy <r_reidy_at_comcast.net>
Date: Wed, 17 Sep 2003 20:29:03 -0600
Message-ID: <3F69186F.6030600@comcast.net>


Look here

http://asktom.oracle.com/pls/ask/f?p=4950:8:4543635795457381524::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:5033906925164,

Ryan Gaffuri wrote:
> 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?

-- 
Ron Reidy
Oracle DBA
Received on Wed Sep 17 2003 - 21:29:03 CDT

Original text of this message

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