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: DDL & long-running query

Re: DDL & long-running query

From: <yong321_at_yahoo.com>
Date: 12 May 2005 13:54:52 -0700
Message-ID: <1115931291.998437.237530@g14g2000cwa.googlegroups.com>


Mladen,

A parse lock is also called breakable parse lock. To me, the name "lock" here is a misnomer. It doesn't really lock anything; instead it passively serves as an alert mechanism to invalidate cursors in library cache when the definition of dependent objects is changed by a DDL. That is, instead of the DDL being stopped, the "lock" breaks itself and invalidates the library cache object.

I think Cursor Definition Locks in null mode in dba_lock_internal represent these parse locks. You can also find them in dba_kgllock where kgllktype = 'Lock' (but have to match its kgllkhdl with x$kglob.kglhdadr to find the cursor text). These locks are not in v$lock or dba_lock.

Yong Huang
yong321ATyahoo.com Received on Thu May 12 2005 - 15:54:52 CDT

Original text of this message

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