> For the complete documentation index, see [llms.txt](https://docs.tibero.com/tibero-manuals/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tibero.com/tibero-manuals/7.2.6.manuals/reference-guide/dynamic-views/v_lock.md). Agents can also search and read this documentation through its [MCP server](https://docs.tibero.com/tibero-manuals/~gitbook/mcp).

# V$LOCK

현재 사용 중인 락

## 컬럼

<table><thead><tr><th width="200">컬럼 이름</th><th width="160">데이터 타입</th><th>설명</th></tr></thead><tbody><tr><td>TYPE</td><td>VARCHAR(25)</td><td>락 유형</td></tr><tr><td>ID1</td><td>NUMBER</td><td>락의 첫 번째 ID</td></tr><tr><td>ID2</td><td>NUMBER</td><td>락의 두 번째 ID</td></tr><tr><td>LMODE</td><td>NUMBER</td><td><p>락 소유자가 보유한 모드</p><ul><li>0: None</li><li>1: Row-Shared(RS)</li><li>2: Row-Exclusive(RX)</li><li>3: Shared(S)</li><li>4: Shared-Row-Exclusive(SRX)</li><li>5: Exclusive(X)</li><li>6: Pin (TX-wait용 특수 모드)</li></ul></td></tr><tr><td>REQUESTED</td><td>NUMBER</td><td>락 대기자가 요청하는 모드</td></tr><tr><td>SESS_ID</td><td>NUMBER</td><td>락을 보유한 스레드 ID(SID와 동일)</td></tr><tr><td>CTIME</td><td>NUMBER</td><td>현재 모드에서 경과한 시간(초)</td></tr></tbody></table>
