Hi, I think you're misunderstanding the way these things work. Truncate is always fairly fast because it does very little work in most cases, simply resetting the table's HWM and releasing some extents back into FET$. A delete can have considerable overheads and can bottleneck in many places. Such things as integrity constraint checking, index maintenance and poor redo log optimisation can all slow down the operation. You should watch for wait events during the delete to see where the database is actually waiting. Also check the alert log file for messages indicating that you're waiting to checkpoint.
Regards, Mike Hately -----Original Message----- Sent: 14 May 2002 13:23 To: Multiple recipients of list ORACLE-L Hi all. Anyone that is running Staffware out there on Oracle 8.1.7 - please help me out here. This is urgent. We are trying to delete 70 000 rows from a table - via Staffware, so that we can do a restore - via Staffware. This seems to take over 10 hours, and still does not seem to complete. If I do a truncate table it takes a few seconds, but via Staffware it just hangs... Any idea's? Thanks Clint ____________________________________________________________________________ ________________________ This email and any attached to it are confidential and intended only for the individual or entity to which it is addressed. If you are not the intended recipient, please let us know by telephoning or emailing the sender. You should also delete the email and any attachment from your systems and should not copy the email or any attachment or disclose their content to any other person or entity. The views expressed here are not necessarily those of Churchill Insurance Group plc or its affiliates or subsidiaries. Thank you. Churchill Insurance Group plc. Company Registration Number - 2280426. England. Registered Office: Churchill Court, Westmoreland Road, Bromley, Kent BR1 1DP. -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Hately Mike 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).
