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" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

06/22/01 08:35 AM
Please respond to ORACLE-L

       
        To:        Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
        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:


*** 2001-06-21 14:32:03.841
*** SESSION ID:(27.31211) 2001-06-21 14:32:03.810
DEADLOCK DETECTED
Deadlock graph:
                      ---------Blocker(s)--------
---------Waiter(s)---------
Resource Name          process session holds waits  process session holds
waits
DX-0000003b-00000000        22      18     X             24      27
X
session 18: DID 0001-0018-0000003C                 session 27: DID 0001-0018-0000003C
Rows waited on:
Session 27: no row
*** 2001-06-21 14:32:03.857
ksedmp: internal or fatal error
ORA-00060: deadlock detected while waiting for resource

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: [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