> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# mutations_* 세션 설정

> 자동 생성된 mutations_* 그룹의 ClickHouse 세션 설정입니다.

export const SettingsInfoBlock = ({type, default_value, changeable_without_restart}) => {
  return <div className="not-prose" style={{
    display: "flex",
    flexWrap: "wrap",
    alignItems: "baseline",
    columnGap: "0.5rem",
    rowGap: "0.125rem",
    margin: "0.375rem 0",
    fontSize: "0.8125rem",
    lineHeight: "1.125rem"
  }}>
      <div style={{
    fontWeight: 600,
    opacity: 0.72
  }}>유형</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{type}</div>
      <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>기본값</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{default_value}</div>
      {changeable_without_restart && <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>
          재시작 없이 변경 가능
        </div>}
      {changeable_without_restart && <div style={{
    overflowWrap: "anywhere"
  }}>
          {changeable_without_restart}
        </div>}
    </div>;
};

이 설정은 [system.settings](/docs/ko/reference/system-tables/settings)에서 확인할 수 있으며 [소스](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp)를 기반으로 자동 생성됩니다.

<div id="mutations_max_literal_size_to_replace">
  ## mutations\_max\_literal\_size\_to\_replace
</div>

<SettingsInfoBlock type="UInt64" default_value="16384" />

`UPDATE` 및 `DELETE` 쿼리에서 대체할 직렬화된 리터럴의 최대 크기(바이트)입니다. 위의 두 설정 중 하나 이상이 활성화된 경우에만 적용됩니다. 기본값은 16384(16 KiB)입니다.

<div id="mutations_sync">
  ## mutations\_sync
</div>

<SettingsInfoBlock type="UInt64" default_value="0" />

`ALTER TABLE ... UPDATE|DELETE|MATERIALIZE INDEX|MATERIALIZE PROJECTION|MATERIALIZE COLUMN|MATERIALIZE STATISTICS` 쿼리([뮤테이션](/docs/ko/reference/statements/alter/index#mutations))를 동기적으로 실행할 수 있습니다.

가능한 값:

| 값   | 설명                                                                                                         |
| --- | ---------------------------------------------------------------------------------------------------------- |
| `0` | 뮤테이션이 비동기로 실행됩니다.                                                                                          |
| `1` | 현재 서버에서 모든 뮤테이션이 완료될 때까지 쿼리가 대기합니다.                                                                        |
| `2` | 모든 레플리카(있는 경우)에서 모든 뮤테이션이 완료될 때까지 쿼리가 대기합니다.                                                               |
| `3` | 쿼리는 활성 레플리카만 기다립니다. `SharedMergeTree`에서만 지원됩니다. `ReplicatedMergeTree`에서는 `mutations_sync = 2`와 동일하게 동작합니다. |
