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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Deadlock Detection

Re: Deadlock Detection

From: <Riyaj_Shamsudeen_at_i2.com>
Date: Fri, 22 Jun 2001 07:11:11 -0700
Message-ID: <F001.00333A0E.20010622071643@fatcity.com>


Hi
        Your deadlock problem seems to be related to distributed transactions since your processes are holding and waiting for DX type locks. DX enqueues are taken for distributed queries. Do you have queries accessing the remote tables over the database links ?
        As far as I know, even queries take DX lock for distributed transaction. So you need to commit or rollback after every distributed query/transaction to release the DX lock. Also look at the v$resource_limit to find the high water mark for the distributed transaction slot usage. If the max_utilitization equals to initial_allocation, then you may need to increase the number of transaction slots also in addition to adding commit/rollback.

Thanks
Riyaj "Re-yas" Shamsudeen
Certified Oracle DBA
i2 technologies   www.i2.com

"Mercadante, Thomas F" <NDATFM_at_labor.state.ny.us> Sent by: root_at_fatcity.com
06/22/01 08:35 AM
Please respond to ORACLE-L

       
        To:        Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
        cc:        
        Subject:        Deadlock Detection

All,

My current application (still under development) is experiencing Oracle deadlock problems.  The applications people are performing stress testing where the application is being repeatedly called simulating actual users hitting the database.

The application is written using VB thru ADO and COM, Oracle 816 on NT.

My problem is that, while I can review the trace file produced, I can't figure out what the actual deadlock is occurring on.  I have seen deadlock trace files that clearly state "table blah", but in this case, I get:

Is there something like TKPROF that will process the trace file and give me more info on what is happening?  It looks like I am waiting for a resource to be freed, but which one is the question.

thanks for any help.

Tom Mercadante
Oracle Certified Professional

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Mercadante, Thomas F
  INET: NDATFM_at_labor.state.ny.us

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 Fri Jun 22 2001 - 09:11:11 CDT

Original text of this message

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