> For the complete documentation index, see [llms.txt](https://docs.tibero.com/technical-guides/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/technical-guides/topics/migration/massive-migration.md).

# 대용량 이관

대용량 데이터 이관 방법 및 고려사항, 예제와 데이터베이스 성능 개선에 대해 안내합니다.

## **개요** <a href="#bookmark1" id="bookmark1"></a>

이기종 데이터베이스를 이관할 때 대용량 테이블이 있다면 이관 방법을 통해 수행 시간을 단축할 수 있습니다. 고객사의 환경(네트워크, Disk I/O, 데이터 속성)을 고려하여 적절한 방법을 선택합니다.

아래는 이관 방법들의 특징에 대한 설명입니다.

<table><thead><tr><th width="181">이관 방법</th><th>특징</th></tr></thead><tbody><tr><td>T-UP</td><td><ul><li>GUI 기반의 클라이언트 <br>(네트워크 오버헤드가 커서 대용량 데이터를 이관할 경우 미권장)</li><li>DPL을 지원</li></ul></td></tr><tr><td>Table Migrator</td><td><ul><li>테이블 단위로 데이터를 옮기는데 최적화된 툴</li><li>SELECT 옵션의 CONDITION, PARTITION을 지원</li><li>DPL, P-DPL을 지원</li></ul></td></tr><tr><td>DB Link + DPI</td><td><ul><li>SOURCE DB에 맞는 Gateway를 설치하고 DB LINK를 설정 </li><li>APPEND 힌트를 통해 DPI를 지원</li></ul></td></tr><tr><td>SAM 파일 + tbLoader</td><td><ul><li>변화가 없는 테이블에 대해 SAM 파일로 내려 tbLoader를 이용하여 데이터를 로드</li><li>DPL, P-DPL을 지원</li><li>External Table + DPI 이용가능</li></ul></td></tr></tbody></table>

#### 데이터 이관 지원 방식&#x20;

아래는 각 데이터 이관 방법들이 지원하는 방식에 대한 설명입니다.

<table><thead><tr><th width="188">방식</th><th width="99">T-UP</th><th width="146">Table Migrator</th><th width="132">DB Lin</th><th>tbLoader</th></tr></thead><tbody><tr><td>Parallel Processing</td><td>O</td><td>O</td><td>O</td><td>O</td></tr><tr><td>Select Condition</td><td>X</td><td>O</td><td>O</td><td>X</td></tr><tr><td>Direct Path Load</td><td>O</td><td>O</td><td>O</td><td>O</td></tr><tr><td>Multi Thread</td><td>O</td><td>O</td><td>X</td><td>O</td></tr><tr><td>Rows Per Commit</td><td>X</td><td>X</td><td>X</td><td>O</td></tr></tbody></table>

#### 데이터 이관 시 고려 사항

아래는 대용량 데이터를 이관할 때 고려해야 할 사항입니다.

* 충분한 네트워크 대역을 확보합니다.
* IO 대역을 고려하여 스케줄 또는 DOP를 적용한다. DPL, Parallel DPL을 최대한 활용합니다.
* DPL, Parallel DPL이 불가능할 때에는 CPL을 병렬로 수행합니다. (Multi Insert)&#x20;
* Index, Constraint, Trigger 등은 데이터 이관이 끝난 다음 생성합니다.

#### 주요 용어 <a href="#bookmark2" id="bookmark2"></a>

#### **CPL (Conventional Path Loading)** 컬럼 데이터를 읽어 컬럼 배열에 담고 일괄 처리 방식으로 데이터를 로드하는 방법입니다.

#### **DPL (Direct Path Loading)** 특정 컬럼의 데이터 타입에 맞게 데이터를 컬럼 배열 형태로 만든 다음 블록 형식기를 거쳐 로드하는 방법으로, 아래와 같은 제약 사항이 있습니다.

* Parallel DPL의 경우 Tibero 5 r69848 이후부터 지원합니다.&#x20;
* SUBPARTITIONED TABLE은 DPL 또는 Parallel DPL을 미지원합니다.&#x20;
* IOT는 DPL 또는 Parallel DPL을 미지원합니다.
* Partitioned INDEX의 경우 Normal Index만 DPL을 지원합니다.
* LONG 컬럼이 포함된 255개 이상의 Column을 가진 테이블은 DPL을 미지원합니다.&#x20;
* LOB 계열의 컬럼이 있는 경우 DPL만 지원합니다.
* INDEX가 생성되어 있는 경우 DPL만 지원합니다.

#### **DOP (Degree Of Parallelism)** 병렬도라고 하며, 단일 병렬 작업에서 사용되는 병렬 실행 서버의 수입니다.

###

### 안내서 구성

본 문서는 총 2개의 장으로 구성됩니다.

{% tabs %}
{% tab title="대용량 데이터 이관 예제" %}
대용량 데이터 이관 방법의 예제를 설명합니다.

🔎 [대용량 데이터 이관 예제 바로가기](/technical-guides/topics/migration/massive-migration/massive-migration-example.md)
{% endtab %}

{% tab title="성능 개선 방법" %}
각 상황에 따른 성능 개선 방법에 대해 설명합니다.

🔎 [성능 개선 방법 바로가기](/technical-guides/topics/migration/massive-migration/methods-for-performance-improvement.md)
{% endtab %}
{% endtabs %}

#### 문서 다운로드

{% file src="/files/aCanCimKMgPN0DBfavdl" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.tibero.com/technical-guides/topics/migration/massive-migration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
