# Custom Area

현재 모니터링 중인 그룹 내 인스턴스들의 각종 지표를 확인할 수 있다.

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

커스터마이징을 통해 SysmasterDB에서 지원하는 모든 실시간 차트와 세션, 락 모니터링 테이블을 원하는 위치와 크기로 배치할 수 있다.

### 드롭다운 메뉴

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

차트 왼클릭 시 클릭한 인스턴스와 해당 지표로 알람을 생성하러 이동할 수 있다.

### Custom Area 기본 레이아웃

**기본으로 선택된 차트들**: Response Time, TPS, Long Running Session Count, Top Sessions

#### **Response Time**

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

* 그룹 내 모든 인스턴스에서 발생하는 SQL 수행의 응답 시간(Response Time)을 히트맵 형태로 표시한다.&#x20;
* Y축은 응답 시간이며, 히트맵의 색깔은 해당 응답 시간에 해당하는 SQL의 숫자를 나타낸다.&#x20;
* 더보기 메뉴를 클릭하여 Y축 Time Range를 설정하고 저장할 수 있다.

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

* **Starting Point**: 차트에 보여질 SQL들의 최소 Elasped time 값
* **Cell Height**: 차트의 Y축인 각 Cell의 Elasped time을 설정하는 값

히트맵 영역을 드래그하거나 셀을 클릭하여 실제 SQL 수행 내역을 별도 모달로 확인할 수 있다.

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

Instance Name을 클릭해 해당 인스턴스에 대한 다른 화면으로 갈 수 있다.

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

Long SQL List의 칼럼 내용은 [**Chart Type**](/sysmasterdb-for-postgresql1.0/8.3_manual/realtime/main-monitoring/instance-monitoring/layout-tab/chart/chart-type.md#scatter)을 참조하면 된다.

#### **TPS**

각 인스턴스별로 TPS(Transaction Per Second)를 보여준다.

<figure><img src="/files/0Xh8cvmrW7gHWL7HopNI" alt=""><figcaption></figcaption></figure>

#### **Long Running Session Count**

그룹 내 각 인스턴스 당 수행되고 있는 세션들의 Elapsed Time을 시간 구간별로 나눠서 제공한다.

<figure><img src="/files/2eRApKJSpp6fd9lJRtzR" alt=""><figcaption></figcaption></figure>

더보기 버튼을 클릭하여 Response Time 기준으로 4개의 구간값을 커스터마이징하고 저장할 수 있다.&#x20;

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

#### **Top Sessions**

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

* 실시간 Running Session / Active Session / Lock Tree 현황을 테이블 형태로 표시한다.
* 최대화 버튼을 눌러 확장할 수 있으며, 확장하기 전에는 Elapsed Time 기준 10개 항목, 확장 후에는 50개 항목이 표시된다.

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

* **Running Session**: 실행 중인 세션으로, Status가 RUNNING 상태인 세션이다. 카운팅되는 세션은 pg\_stat\_activity 뷰에서 **Client 세션 및 해당 세션의 병렬 작업에 의해 발생하는 하위 세션까지만** **해당**되며 백그라운드 세션은 포함하지 않는다.
* **Active Session**: 현재 활성화 상태인 세션으로, Status가 ROLLING\_BACK / TX\_RECOVERING / SESS\_CLEANUP / CLOSING 상태인 세션이다. 해당되는 세션은 pg\_stat\_activity 뷰에서 backend\_type 컬럼값이 ‘client backend' 또는 ‘parallel worker’인 세션 정보만 제공한다. **Client 세션 및 해당 세션의 병렬 작업에 의해 발생하는 하위 세션까지만 해당**되며 백그라운드 세션은 포함하지 않는다.
  {% endhint %}

### 커스터마이징

<div><figure><img src="/files/vbdnRf8FVLAdQ46hpXEN" alt=""><figcaption></figcaption></figure> <figure><img src="/files/YN2h5f081mAmhAULMTCm" alt=""><figcaption></figcaption></figure></div>

* Custom 영역을 우클릭하여 Add Chart 메뉴를 호출할 수 있다.
* Add Chart를 통해 Custom 영역에 차트를 추가할 수 있다.
* 이미 Custom 영역에존재하는 차트는 하이라이트 되어 표시된다.
* Recommend 섹션 또는 All 섹션(SysmasterDB에서 제공하는 모든 실시간 차트 목록) 중에서 Dashboard에 표시할 차트를 선택할 수 있다.
* 각 차트 컴포넌트의 X 버튼을 눌러 Custom 영역에서 제거할 수 있으며, 차트의 위치나 크기를 드래그하여 조정할 수 있다.

### 변경 사항 저장

<figure><img src="/files/5zosaGLDjw4uwxbf3ARU" alt=""><figcaption></figcaption></figure>

그룹 내 Admin이상의 권한 혹은 Custom Privilege 가 부여되어 있을 경우 **Save 버튼**을 통해 Custom Area의 변경 사항을 저장할 수 있다.&#x20;

Reset 버튼을 클릭할 경우, 변경 사항이 초기 상태로 복원된다.

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

수정한 모든 내용(CardView, Custom Area)은 그룹 내 모든 사용자에게 공유된다. &#x20;
{% 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-for-postgresql1.0/8.3_manual/dashboard/custom-area.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.
