Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Finding information about object for LOCK TYPE = UL
Hi,
After tracing a slow running transaction, I noticed that most of the time was spent waiting on enqueue. After drilling down further I saw the following line multiple times in the trace files.
WAIT #169: nam='enqueue' ela= 3021648 p1=1431044102 p2=1073754670 p3=0
So from P1 I can make out that the LOCK TYPE is 'UL' and requested mode is 6 (Exclusive). So I query DBMS_LOCK_ALLOCATED matching p2 with LOCKID.
So far so good. Since I have little information about user lock through DBMS_LOCK I'm stuck.
I see name = 'ORA$DR_DML_ 02954: 000' in the DBMS_LOCK_ALLOCATED for LOCKID = 1073754670 (p2 from the trace file).
Now my question is how to find the object for which the lock was requested from this information. Which table or view can help me in finding this information.
Oracle Apps 11.5.8 DB 9.2.0.5
Regards
New DBA
-- http://www.freelists.org/webpage/oracle-lReceived on Tue Feb 15 2005 - 08:24:08 CST
![]() |
![]() |