Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: RAC internals - GLOBAL ENQUEUE SERVICES DEADLOCK DETECTED

Re: RAC internals - GLOBAL ENQUEUE SERVICES DEADLOCK DETECTED

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Thu, 3 Nov 2005 12:37:23 +0000 (UTC)
Message-ID: <dkd0a3$c0m$1@nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com>

"Dusan Bolek" <spambin_at_seznam.cz> wrote in message news:1131018603.285444.191120_at_f14g2000cwb.googlegroups.com...
> Thank you, that looks like something. I will try to catch a deadlock
> message in the alert log as quickly as possible, then find user
> responsible (via pid) and from V$SQL the statement that could be
> causing this trouble. It is not 100% reliable way, but could be
> usefule.
>
> Dusan
>

If the deadlock is on mode 5 enqueues at both ends, it is most likely to be the foreign key locking issue, possibly with a referential integrity constraint declared as 'on delete cascade' but not covered by a suitable index.

Look of foreign keys without indexes, and then look for code that deletes the parent, or updates the columns of the indexes protecting the parent key.

-- 
Regards

Jonathan Lewis

http://www.jlcomp.demon.co.uk/cbo_book/ind_book.html
Cost Based Oracle: Fundamentals
Now available to pre-order.

http://www.jlcomp.demon.co.uk/faq/ind_faq.html
The Co-operative Oracle Users' FAQ

http://www.jlcomp.demon.co.uk/appearances.html
Public Appearances - schedule updated 4th Sept 2005
Received on Thu Nov 03 2005 - 06:37:23 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US