LOCKS

Locks

Comments

Only the first 10,000 locks per session ID are selected, and overall, only the first 30,000 rows are returned.

ROWID

None

Columns

Name Data Type Description
spid long Session ID
dbname string(124) Database name
object string(84) Object name
objid long Object ID
indid long Index ID
type string(24) Resource type, including (but not limited to):
APP
Application
AU
Allocation Unit
DB
Database
EXT
Extent
FIL
File
HBT
HOBT
KEY
Key (i.e. unique index)
MD
Metadata
PAG
Page
RID
Row ID
TAB
Table
resource string(64) Description of lock resource; for RID type, this is %%lockres%% on the table row
mode string(24) Lock request mode, including (not not limited to):
BU
Bulk operation
IS
Intent Shared
IU
Intent Update
IX
Intent Exclusive
RangeIn-Null
Insert Key-Range + Null
RangeIn-S
Key-Range Conversion, RangeIn-Null + S
RangeIn-U
Key-Range Conversion, RangeIn-Null + U
RangeIn-X
Key-Range Conversion, RangeIn-Null + X
RangeS-S
Shared Key-Range + Shared
RangeS-U
Shared Key-Range + Update
RangeX-S
Key-Range Conversion, RangeIn-Null + RangeS-S
RangeX-U
Key-Range Conversion, RangeIn-Null + RangeS-U
RangeX-X
Exclusive Key-Range + Exclusive
S
Shared
Sch-M
Schema modification
Sch-S
Schema stability
SIU
Shared Intent Update
SIX
Shared Intent Exclusive
U
Update
UIX
Update Intent Exclusive
X
Exclusive
status string(24) Request status, including (but not limited to):
CNVT
Converting (waiting)
GRANT
Granted
WAIT
Waiting
username string(64) Login name

Requirements

Attributes: None
Minimum database version: 9.0