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

Home -> Community -> Mailing Lists -> Oracle-L -> Library object/cache locks?

Library object/cache locks?

From: Walter K <ORA1034_at_sbcglobal.net>
Date: Fri, 27 Sep 2002 05:18:25 -0800
Message-ID: <F001.004DAE5B.20020927051825@fatcity.com>


Perhaps this is a rudimentary question but I haven't found any good info on this topic. Would someone please explain the difference between a library cache lock and a library cache pin?

Is the first simply a dictionary lock on a physical object (i.e. table) whereas the second is a dictionary lock on a piece of code (i.e. procedure, function, trigger)?

According to what I've read, I can query x$kgllk where kgllkreq=0 to find the library object locks in the database. How do I know if the lock is a library cache lock vs. a library cache pin, simply by inference due to the type of object?

If I perform a systemstate dump and see 'mode=S' under a process, does that mean that the process has a 'share' lock on the object? If so, I'm confused as to why I don't see a corresponding lock in v$lock.

Any info would be appreciated. Thanks VERY much in advance.

-Walt

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Walter K
  INET: ORA1034_at_sbcglobal.net

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services

---------------------------------------------------------------------
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 Sep 27 2002 - 08:18:25 CDT

Original text of this message

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