You can't really avoid them, unless of course your database is down.

If what you really mean is that you're application is frequently waiting 
on enqueue locks, then you need to find out why that is happening.

A common reason is that foreign keys are created without supporting
indexes.  Another reason is poor locking strategy.  e.g. different 
sections
of the code are locking the same tables in different orders. 

Yet another reason is a poorly designed application that locks table
row(s) for update during user think time ( or lunch time ). 

HTH

Jared





"Shishir Kumar Mishra" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
07/11/2002 04:43 AM
Please respond to ORACLE-L

 
        To:     Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
        cc: 
        Subject:        Enqueue deadlock


Hi !
 How to avoid  enqueue locks ?
 
 
regards... 
Shishir Kumar Mishra
Agni Software (P) Ltd.
www.agnisoft.com
----------------------------------
Vidya Dadaati Viniyam
----------------------------------
 
 


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