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: HOW TO MAKE DELETION FAST

RE: HOW TO MAKE DELETION FAST

From: Godlewski, Melissa <Melissa.Godlewski_at_hq.doe.gov>
Date: Thu, 27 Dec 2001 14:09:48 -0800
Message-ID: <F001.003E3715.20011227135526@fatcity.com>

If you have indexes on the table you may want to drop prior to delete and rebuild them after it completes.

Does this table have foreign key constraints? 

Rowid is the fastest data access method. 

Create a interim table of the rowids for the rows you want deleted and delete from table where rowid in interim table rowid column. 

You may want to lock the table if you are worried about row migration.

-----Original Message-----
Sent: Thursday, December 27, 2001 3:00 PM To: Multiple recipients of list ORACLE-L

Hi Gurus
How to make deletetion of millions rows faster? Please suggest.
Thx
Seema



Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Seema Singh
  INET: oracledbam_at_hotmail.com

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: ListGuru_at_fatcity.com (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).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Sherman, Paul R.
  INET: PSherman_at_elcom.com
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: ListGuru_at_fatcity.com (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). Received on Thu Dec 27 2001 - 16:09:48 CST

Original text of this message

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