Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Enqueue deadlock
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" <shishir_at_agnisoft.com>
Sent by: root_at_fatcity.com
07/11/2002 04:43 AM
Please respond to ORACLE-L
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> cc: Subject: Enqueue deadlock
Hi !
How to avoid enqueue locks ?
regards...
Shishir Kumar Mishra
Agni Software (P) Ltd.
www.agnisoft.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: Jared.Still_at_radisys.com
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: ListGuru_at_fatcity.com (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). Received on Thu Jul 11 2002 - 14:24:56 CDT