# Lock Monitoring

글로벌 내비게이션 바에서 **\[Realtime] > \[Lock Monitoring]** 메뉴를 클릭하면 Lock Monitoring 화면이 열린다.&#x20;

Lock Monitoring 화면에서는 세션간의 Lock 정보를 Tree 형식으로 보여준다. 따라서 Lock을 점유하고 있는 Holder Session과 Lock을 획득하기 위해 기다리고 있는 Waiter Session을 모니터링 할 수 있다. 그리고Lock을 점유하고 있는 세션을 모니터링할 수 있으며, 특정 세션을 종료 시킬 수 있다.

<figure><img src="/files/LyCjDJaqbJRTT73Ku5xH" alt=""><figcaption></figcaption></figure>

다음은 Lock Tree Table 화면에서 제공하는 항목에 대한 설명이다.

| 항목             | 설명                                 |
| -------------- | ---------------------------------- |
| Instance       | SysMaster DB에 등록된 해당 인스턴스 이름       |
| SID            | 세션의 SID                            |
| Serial#        | 세션의 시리얼 번호                         |
| Elapsed Time   | 세션의 Running 시간                     |
| Status         | 세션의 Holder 및 Waiter 정보             |
| Session Status | 세션의 상태                             |
| Username       | 세션 사용자 이름                          |
| Module         | 세션의 모듈 이름                          |
| Program        | 세션의 프로그램 이름                        |
| Machine        | 세션의 호스트 이름                         |
| IP             | User 접속 IP 주소                      |
| SQL ID         | 세션이 수행 중인 SQL의 SQL ID              |
| Child Number   | 세션이 수행 중인 SQL Plan의 Child Number 값 |
| Wait Event     | 세션의 Wait Event 이름                  |
| Type           | Lock 타입                            |
| ID1            | Lock ID1                           |
| ID2            | Lock ID2                           |
| Mode           | Holder가 점유한 Lock 모드 (Waiter는 항상 0) |
| Request        | Waiter가 요청한 Lock 모드 (Holder는 항상 0) |
| Wait Time      | 대기한 시간                             |

## Kill Session

Lock을 점유하고 있는 세션을 종료시켜 Lock을 해제할 수 있는 기능이다.

우선 Lock Tree Table에서 해제할 세션을 선택한 후 Lock Tree Table 화면 오른쪽 상단의 **\[Kill Session]** 버튼을 클릭하면 Kill Session 팝업창이 열린다. 이때 해당 세션을 Kill하여 Lock을 해제할 수 있다.&#x20;

{% hint style="info" %}
Configurable Privileges 중 선택한 인스턴스에 대해 \[Kill Session] 권한이 부여된 사용자에 한해 사용할 수 있는 기능이다.
{% endhint %}

{% hint style="info" %}
**참고**

팝업창 정보에 대해서 Session Monitoring의 '[Kill Session'](/sysmasterdb/8.3_manual/realtime/main-monitoring/session-monitoring.md#kill-session)을 참고한다.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tibero.com/sysmasterdb/8.3_manual/realtime/lock-monitoring.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
