> For the complete documentation index, see [llms.txt](https://docs.tibero.com/prosync/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/prosync/administration/llob/llob-process.md). Agents can also search and read this documentation through its [MCP server](https://docs.tibero.com/prosync/~gitbook/mcp).

# Llob Process

## Process 설명

Llob 프로세스는 Apply 프로세스의 요청에 따라 Source DB의 Long, Clob, Blob 등의 대용량 데이터를 전달하는 동작을 수행한다.

<figure><img src="https://content.gitbook.com/content/TPAsnFnrfDuUTrH7BU6a/blobs/FFDPupsRsBIBF9bt10k5/image.png" alt="prosync, 프로싱크 Llob 프로세스"><figcaption><p>그림1. Llob 프로세스</p></figcaption></figure>

***

## Threads

### Control Thread

기동 시 다른 Thread 시작, 메시지 수신 및 전송 등의 작업을 수행한다. Apply Thread의 요청이 오는 경우, 적절한 Read Thread 에 전달한다.

### Read Thread

Apply Thread의 요청에 따라 Source DB에 **flashback query**를 통해 llob 데이터를 조회하고 이를 Control Thread를 통해 요청한 Apply 프로세스에 전달한다.

해당 시점으로 **flashback query**를 할 수 없는 경우의 동작은 `LLOB_FLASHBACK_ERROR` 파라미터 설정에 따라 다르다.

<table><thead><tr><th width="180">설정값</th><th>동작</th></tr></thead><tbody><tr><td><code>CURRENT</code> (기본값)</td><td>flashback query의 AS OF 절을 제거하고 현재 시점의 데이터로 다시 조회한다.</td></tr><tr><td><code>SKIP</code></td><td>해당 데이터의 조회를 건너뛴다.</td></tr></tbody></table>

{% hint style="warning" %}
**주의**

`SKIP`으로 설정하면 flashback query에 실패한 데이터가 동기화되지 않으므로 데이터 정합성에 영향을 줄 수 있다.
{% endhint %}
