I have only one cursor which selects the max sequence
number and all the records before that sequence number
are deleted. 
I was just wondering if oracle 9i has a truncate like
option to delete records with nologging option.
We are in the process of partitioning but it might
take couple of weeks to  implement that option
Thanks
Sonia P.
--- "Aponte, Tony" <[EMAIL PROTECTED]> wrote:
> How are you selecting the rows to be deleted? Is it
> in one cursor driving a loop with incremental
> commits or is it done via batch cycles of 10,000-row
> delete ... from ...where commit; delete ... from
> ...where commit; .............?
> 
> Tony Aponte
> 
> -----Original Message-----
> From: sonia pajerowski
> [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 21, 2002 5:13 PM
> To: Multiple recipients of list ORACLE-L
> Subject: How to make deletes faster.
> 
> 
> Hello All,
> I have a non-partitioned table with 20 millions
> records and growing. Every night a pl/sql stored
> procedures deletes around 1 million rows 10,000 at a
> time.Currently it is taking aroung 1 hour to delete
> 1
> million messages.
> Is there any way I can make deletes faster. I need
> good suggestions. I have already tried all the
> obvious
> init.ora parameters like make_delete_faster=true but
> they do not seem to work.:-)
> 
> Thanks
> Sonia
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - Coverage of the 2002 Olympic Games
> http://sports.yahoo.com
> -- 
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> -- 
> Author: sonia pajerowski
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- (858) 538-5051  FAX:
> (858) 538-5051
> San Diego, California        -- Public Internet
> access / Mailing Lists
>
--------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of
> 'ListGuru') and in
> the message BODY, include a line containing: UNSUB
> ORACLE-L
> (or the name of mailing list you want to be removed
> from).  You may
> also send the HELP command for other information
> (like subscribing).
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: sonia pajerowski
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to