I stand corrected: tracing probably won't work because the cr and cu values would wrap.
Just kidding. :) BEFORE YOU TRY disabling indexes (or anything else for that matter), I strongly advise you to trace the program so you can see where it spends its time. Even if you have guessed the solution correctly, tracing will provide the enormous value of allowing you to quantify exactly how much ground you will have gained. Then there's always the chance that you haven't guessed the solution correctly, in which case you'll need the trace data to help you divine the actual right solution. Cary Millsap Hotsos Enterprises, Ltd. http://www.hotsos.com Upcoming events: - Performance Diagnosis 101: 10/28 Phoenix, 11/19 Sydney - SQL Optimization 101: 12/8-12 Dallas - Hotsos Symposium 2004: March 7-10 Dallas - Visit www.hotsos.com for schedule details... -----Original Message----- Walid Alkaakati Sent: Friday, October 10, 2003 8:45 AM To: Multiple recipients of list ORACLE-L HI , I have noticed that both deleting and inserting is too slow (about five hours to insert 40000 rows !!!!), this may be because i have more than 40 INDEX ON THIS TWO tables,I will try to disable them before i run my insert statement . Thanks, +----------------------------------------------------------------+ This message and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this message in error please delete it and any files transmitted with it, after notifying [EMAIL PROTECTED] Any opinions expressed in this message may be those of the author and not necessarily those of the Company. The Company accepts no responsibility for the accuracy or completeness of any information contained herein. This message is not intended to create legal relations between the Company and the recipient. Recipients should please note that messages sent via the internet may be intercepted and that caution should therefore be exercised before despatching to the Company any confidential or sensitive information. +----------------------------------------------------------------+ -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Walid Alkaakati INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- 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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Cary Millsap INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- 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).