RE: Delete rows faster ?

  • From: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
  • To: <oracledbam@xxxxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 14 Nov 2006 12:00:56 -0700

Did you already try the hidden parameter "_delete_rows_faster=true"?

Sorry, couldn't resist :-)

Seriously though - you need to perform a trace (event 10046, level 12)
on the delete statement to see where it's spending it's time - and then
address the problem from there.  You may need to add an index to help
Oracle find the rows faster, or if you're deleting all rows of a table
you might want to use TRUNCATE TABLE instead.

Regards,
Brandon

Privileged/Confidential Information may be contained in this message or 
attachments hereto. Please advise immediately if you or your employer do not 
consent to Internet email for messages of this kind. Opinions, conclusions and 
other information in this message that do not relate to the official business 
of this company shall be understood as neither given nor endorsed by it.

--
//www.freelists.org/webpage/oracle-l


Other related posts: