【DOC】VIEW: "V$LOCK" Reference Note
Subject: | VIEW: "V$LOCK" Reference Note | |||
Doc ID: | 29787.1 | Type: | REFERENCE | |
Modified Date: | 11-NOV-2002 | Status: | PUBLISHED |
"V$LOCK" Reference Note
- The information here contains the view description from the Oracle9i documentation along with any additional related to this view.
- Earlier versions of Oracle may not include all columns.
Oracle9i Information
-
This view lists the locks currently held by the Oracle server and outstanding requests for a lock or latch.
ColumnDatatype Description ADDR
RAW(4)
Address of lock state object
KADDR
RAW(4)
Address of lock
SID
NUMBER
Identifier for session holding or acquiring the lock
TYPE
VARCHAR2(2)
Type of user or system lock
The locks on the user types are obtained by user applications. Any process that is blocking others is likely to be holding one of these locks. The user type locks are:
TM - DML enqueue
TX - Transaction enqueue
UL - User supplied
The locks on the system types are held for extremely short periods of time.
ID1
NUMBER
Lock identifier #1 (depends on type)
ID2
NUMBER
Lock identifier #2 (depends on type)
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)
REQUEST
NUMBER
Lock mode in which the process requests 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)
CTIME
NUMBER
Time since current mode was granted
BLOCK
NUMBER
The lock is blocking another lock
System Type Description System Type Description BL
Buffer hash table instance
NA..NZ
Library cache pin instance (A..Z = namespace)
CF
Control file schema global enqueue
PF
Password File
CI
Cross-instance function invocation instance
PI, PS
Parallel operation
CU
Cursor bind
PR
Process startup
DF
Data file instance
QA..QZ
Row cache instance (A..Z = cache)
DL
Direct loader parallel index create
RT
Redo thread global enqueue
DM
Mount/startup db primary/secondary instance
SC
System commit number instance
DR
Distributed recovery process
SM
SMON
DX
Distributed transaction entry
SN
Sequence number instance
FS
File set
SQ
Sequence number enqueue
HW
Space management operations on a specific segment
SS
Sort segment
IN
Instance number
ST
Space transaction enqueue
IR
Instance recovery serialization global enqueue
SV
Sequence number value
IS
Instance state
TA
Generic enqueue
IV
Library cache invalidation instance
TS
Temporary segment enqueue (ID2=0)
JQ
Job queue
TS
New block allocation enqueue (ID2=1)
KK
Thread kick
TT
Temporary table enqueue
LA .. LP
Library cache lock instance lock (A..P = namespace)
UN
User name
MM
Mount definition global enqueue
US
Undo segment DDL
MR
Media recovery
WL
Being-written redo log instance
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15415488/viewspace-616895/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Overview of Parameter Reference Notes (Doc ID 68462.1)View
- WAITEVENT: "row cache lock" Reference Note (文件 ID 34609.1)AI
- WAITEVENT: "latch: row cache objects" Reference Note (Doc ID 1550722.1)AIObject
- hector-v2-client-doc.pdf read notesclient
- doc,view,frame互相呼叫View
- SAP SD Reference Guide: SAP NotesGUIIDE
- oracle lock鎖_v$lock_轉Oracle
- SQL*Net more data from dblink Reference NoteSQL
- * Master Note: Database Performance Overview (Doc ID 402983.1)ASTDatabaseORMView
- Master Note - Oracle GoldenGate (Doc ID 1298817.1)ASTOracleGo
- 不用DOC/VIEW類結構進行列印 (轉)View
- oracle v$lock詳解Oracle
- v_user_viewView
- Master Note for Oracle Disk Manager (Doc ID 1226653.1)ASTOracle
- oracle v$lock系列之三Oracle
- snapshot 和 view,lock 和 latch 的區別View
- Master Note of Linux OS Requirements for Database Server (Doc ID 851598.1)ASTLinuxUIREMDatabaseServer
- v$session之小測試(一)_與v$lockSession
- MySQL-lock(鎖)-v2.0MySql
- Master Note: Overview of Oracle Tablespace Management (Doc ID 1493350.1)ASTViewOracle
- v$asm 相關的viewASMView
- Master Note: Oracle Transaction Management (Local) Overview (Doc ID 1506115.1)ASTOracleView
- Master Note For PL/SQL UTL_FILE Package (Doc ID 1155024.1)ASTSQLPackage
- MySQL 8.0 Reference Manual(讀書筆記66節--locking read 與lock)MySql筆記
- oracle鎖表問題處理 v$lock v$locked_objectOracleObject
- 【Linux】git note -v command not foundLinuxGit
- 物化檢視日誌(materialized view log)引起大量Dfs Lock Handle等待ZedView
- v$lock.type中的內容解釋
- 學習動態效能表(八)-(1)-v$lock
- 學習動態效能表(八)-(2)-v$lock
- Oracle動態效能檢視學習之v$lock & v$locked_objectOracleObject
- (轉)學習Oracle動態效能表-(3)V$LOCK,V$LOCKED_OBJECTOracleObject
- 多View統一Camera v1.2View
- Tutor13 How to crack Drag And View v4.50View
- Java referenceJava
- undefined reference toUndefined
- 授權某使用者,檢視動態效能檢視的許可權(如v$latch,v$lock,v$sqlarea,v$sql,v$sysstat)SQL
- MySQL 8.0 Reference Manual(讀書筆記74節--Spin Lock Polling & Purge Configuration)MySql筆記