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: Waiting for Type 4 lock

Re: Waiting for Type 4 lock

From: A. Bardeen <abardeen1_at_yahoo.com>
Date: Sun, 05 Aug 2001 23:48:13 -0700
Message-ID: <F001.0036108B.20010805230555@fatcity.com>

Doug,

I don't know of any way of proving ITL contention other than doing a block dump of the block in question while it is hanging.

Are you saying that the info for ROW_WAIT_FILE# and ROW_WAIT_BLOCK# in V$SESSION doesn't exist or is -1 for the session waiting on the TX lock in mode 4?

Are there any triggers on the table that could be causing the locking issue?

There are some share locks held against distributed tx's. Do you have any distributed tx's or anything else (e.g. XA) that could be using the two-phase commit process? Normally these locks aren't held long enough to be noticeable, but I imagine that if there were a problem with the tx and it were left in an in-doubt status the locks would remain until RECO cleaned it up. You might check DBA_2PC_PENDING and DBA_2PC_NEIGHBORS. HTH,


Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: A. Bardeen
  INET: abardeen1_at_yahoo.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 Mon Aug 06 2001 - 01:48:13 CDT

Original text of this message

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