Also check for a delete trigger on the table.

Ron Thomas
Hypercom, Inc
[EMAIL PROTECTED]



                                                                                       
                     
                    [EMAIL PROTECTED]                                                     
                     
                    tate.ny.us            To:     [EMAIL PROTECTED]                 
                     
                    Sent by:              cc:                                          
                     
                    [EMAIL PROTECTED]        Subject:     RE: Delete slowing..            
                     
                    om                                                                 
                     
                                                                                       
                     
                                                                                       
                     
                    11/27/01 12:30                                                     
                     
                    PM                                                                 
                     
                    Please respond                                                     
                     
                    to ORACLE-L                                                        
                     
                                                                                       
                     
                                                                                       
                     




Mark,

check for foreign key/missing index combinations.  If the table is a parent
table, and it's child's foreign key's column is not indexed, the delete can
take *forever* if the child is a large table.

Tom Mercadante
Oracle Certified Professional


-----Original Message-----
Sent: Tuesday, November 27, 2001 1:55 PM
To: Multiple recipients of list ORACLE-L


Hi list people :)

We have a customer who has been running a particular delete statement
against a table for a while now, which usually ran within minutes. All of a
sudden this table has suddenly gone from a few minutes right up to 50! He
wants to diagnose why..

Where would you start?

I have a few ideas of my own - like stale stats, small rollback segments
etc. - but am after some of your advice also before I get back to him
tomorrow morning.. Not sure on the Oracle version, OS, or even amount of
rows he is deleting or size of the table (yet, I'll find this out tomorrow),
but there has to be a pretty standard way of diagnosing this..

All help appreciated.

Mark

===================================================
 Mark Leith             | T: +44 (0)1905 330 281
 Sales & Marketing      | F: +44 (0)870 127 5283
 Cool Tools UK Ltd      | E: [EMAIL PROTECTED]
===================================================
           http://www.cool-tools.co.uk
       Maximising throughput & performance


--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Mark Leith
  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).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Mercadante, Thomas F
  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).




-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Ron Thomas
  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).

Reply via email to