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

# detach_* MergeTree 테이블 설정

> detach_*로 생성된 그룹에 속한 ClickHouse MergeTree 테이블 설정입니다.

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.merge\_tree\_settings](/docs/ko/reference/system-tables/merge_tree_settings)에서 확인할 수 있으며 ClickHouse 소스에서 자동 생성됩니다.

<div id="detach_not_byte_identical_parts">
  ## detach\_not\_byte\_identical\_parts
</div>

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

머지 또는 mutation 이후, 다른 레플리카의 데이터 파트와 바이트 단위로 동일하지 않은 데이터 파트를 레플리카에서 분리할지 여부를 설정합니다. 비활성화하면 해당 데이터 파트는 제거됩니다. 이러한 파트를 나중에 분석하려면 이 설정을 활성화하십시오.

이 설정은 [데이터 복제](/docs/ko/reference/engines/table-engines/mergetree-family/replacingmergetree)가 활성화된 `MergeTree` 테이블에 적용됩니다.

가능한 값:

* `0` — 파트가 제거됩니다.
* `1` — 파트가 분리됩니다.

<div id="detach_old_local_parts_when_cloning_replica">
  ## detach\_old\_local\_parts\_when\_cloning\_replica
</div>

<SettingsInfoBlock type="Bool" default_value="1" />

손실된 레플리카를 복구할 때 기존 로컬 파트를 제거하지 않습니다.

가능한 값:

* `true`
* `false`
