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: Locking tables in Oracle

RE: Locking tables in Oracle

From: Jacques Kilchoer <Jacques.Kilchoer_at_quest.com>
Date: Thu, 27 Mar 2003 14:28:39 -0800
Message-ID: <F001.00574D14.20030327142839@fatcity.com>


>-----Original Message-----
>From: Pillai, Rajesh [mailto:Rajesh.Pillai_at_nordstrom.com]
>
>What does it mean if locked_mode column is populated with 0 or 3 or
> 6. What kind of locking does it shows (RS, X etc...)?

I know someone has already answered this, but you can find the official answer in the documentation. Look up the description of v$lock in the Server Reference Manual. From the 9.2 manual (Oracle9i Database Reference Release 2 (9.2) Part Number A96536-02), description of column v$lock.lmode:

LMODE NUMBER Lock mode in which the session holds the lock:

0 - none 
1 - null (NULL) 
2 - row-S (SS) 
3 - row-X (SX) 
4 - share (S) 
5 - S/Row-X (SSX) 
6 - exclusive (X)  

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Jacques Kilchoer
  INET: Jacques.Kilchoer_at_quest.com

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 Thu Mar 27 2003 - 16:28:39 CST

Original text of this message

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