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

Home -> Community -> Usenet -> c.d.o.misc -> Re: performance on delete the rows from a huge table

Re: performance on delete the rows from a huge table

From: Mark D Powell <Mark.Powell_at_eds.com>
Date: 20 Mar 2005 12:43:48 -0800
Message-ID: <1111351428.061161.249440@f14g2000cwb.googlegroups.com>


I think Daniel may have misspoken.

If seems to me that no matter how the delete is handled, by rowid or key columns, the need for incremental commits is dependend on the configuration of the rollback segments/undo tablespace. Either the rollback configuration can handle the delete as one transaction or it cannot and incremental commits will be necessary. When you delete a row the entire row and copies of associated index entries have to be written to the rollback segment area. The method of locating the row to be deleted by rowid or column values makes no difference.

The transaction would benefit from an index on x1, x2, x3, and x4. If these columns should comprise a unique key then the PK constraint exceptions clause can be used to locate the duplicate rows as Daniel points out.

HTH -- Mark D Powell -- Received on Sun Mar 20 2005 - 14:43:48 CST

Original text of this message

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