# Analysis

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

1. [**Vacuum**](/sysmasterdb-for-postgresql1.0/8.3_manual/analysis/vacuum.md) - 테이블/인덱스의 Bloat 및 Dead Tuple을 분석하여 성능 최적화 대상을 식별할 수 있다.

## 공통 기능&#x20;

Analysis 서비스 하위 메뉴에서 공통으로 사용되는 기능에 대해서 설명한다.

### Instance Selector

Analysis의 하위 메뉴에 진입 시 공통적으로 보여지는 드롭다운 메뉴이다. 해당 드롭다운을 통해 모니터링 대상 인스턴스를 선택할 수 있다.

&#x20;Analysis 메뉴들 화면 좌측 상단의 드롭다운 메뉴를 클릭한다.

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

Instance 드롭다운 메뉴를 클릭한다.&#x20;

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

드롭다운이 펼쳐지면 원하는 인스턴스를 선택하고, 해당 인스턴스에 대한 모니터링 정보가 화면에 나온다.&#x20;

### Period Selector&#x20;

데이터 분석 대상 기간을 설정할 수 있다. 기본적으로 1시간 단위로 되어 있고 만약 특정한 기간이 필요하다면, Custom으로 변경하여 원하는 기간 구간에서 조회가 가능하다.&#x20;

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

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

Period selector는 검색 범위에 따라 데이터의 검색되는 단위가 변하며, Analysis 하위 메뉴는 각각 상이한 규칙과 최소 검색 단위가 존재한다.&#x20;
{% endhint %}

### DateTime Selector

특정 날짜의 조회 시점을 설정할 수 있다. 날짜는 미래를 선택할 수 없고, Retention 기간 이전의 날짜를 선택할 수 없다. 시간은 메뉴에 따라 선택할 수 있는 값이 다르다. 예를 들어, Vacuum의 경우 UTC 기준 00:00 / 06:00 / 12:00 / 18:00 만을 선택할 수 있다.

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

### Table 기능 <a href="#analysis-common-table" id="analysis-common-table"></a>

#### 1) 아이템 필터링(Detail Filter)

아래 아이콘을 클릭하면 필터링할 수 있는 모달이 표시된다.

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

특정 컬럼의 특정 값으로 필터링하여 메인 테이블을 조회할 수 있는 기능이다. 컬럼 1개달 한 개의 값으로만 필터링 가능하다.

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

#### 2) 컬럼 검색

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

실시간으로 테이블 내 모든 문자열과 숫자를 대상으로 검색한다. 대소문자는 구분하지 않고, 부분 일치 검색도 지원한다.

#### 3) 테이블 정렬

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

컬럼의 오른쪽 아이콘을 클릭하면 해당 컬럼을 기준으로 테이블을 정렬한다.

#### 4) 페이지네이션

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

* Rows per page에서 페이지당 표시할 행 수를 선택한다.
* 'Total x items.'에서 x는 총 row의 수를 표시한다.
* '맨앞 / 앞 / 뒤 / 맨뒤' 로 넘길 수 있다. 넘어갈 페이지가 없을 경우 비활성화된다.

#### 5) 테이블 csv 다운로드

<div align="center"><figure><img src="/files/qa8A7t0rNxuSjGLVmTxy" alt=""><figcaption></figcaption></figure> <figure><img src="/files/nXEwIypf8zziTY1BBY7o" alt=""><figcaption></figcaption></figure></div>

테이블 전체 데이터를 csv 파일로 다운로드 한다. 다운로드 시 파일명은 'TableDownload.csv'이다.

#### 6) 테이블 확대

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

테이블 영역을 최대화한다.

#### 7) Data Unit 설정

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

* 테이블 내 데이터 크기 지표들의 단위를 설정한다. Data Unit을 OFF로 할 경우 Default를 설정한다.
* Default로 설정하면 SysmasterDB에서 정한 데이터의 기본 단위로 각각 적용된다.
* BYTE, KB, MB, GB, TB로 설정하면 테이블 내 데이터 크기 지표들의 단위가 설정한 하나의 단위로 일괄 적용된다.


---

# 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/analysis.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.
