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

# concurrent_part_removal_threshold_* MergeTree 테이블 설정

> 자동 생성된 concurrent_part_removal_threshold_* 그룹의 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="concurrent_part_removal_threshold">
  ## concurrent\_part\_removal\_threshold
</div>

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

비활성 데이터 파트의 수가 이 값 이상일 때만 동시 파트 제거('max\_part\_removal\_threads' 참조)를 활성화합니다.

<div id="concurrent_part_removal_threshold_for_remote_disk">
  ## concurrent\_part\_removal\_threshold\_for\_remote\_disk
</div>

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

<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.5"},{"label": "16"},{"label": "새 설정입니다. 삭제 중인 파트 가운데 하나라도 원격 디스크에 있으면 동시 파트 제거 처리 경로로 전환되는 임계값을 더 낮췄습니다. 각 삭제는 일반적으로 네트워크 왕복 1회가 필요합니다. 이전 값(100)은 기존 `concurrent_part_removal_threshold` 기본값과 같으므로, 이전 `compatibility` 모드에서는 기존 동작이 유지됩니다."}]}]} />

`concurrent_part_removal_threshold`와 동일하지만, 삭제되는
파트 중 하나 이상이 원격 디스크에 저장되어 있을 때 사용됩니다. 기본값이 더 낮은
이유는 원격 스토리지에서 파트 제거 시 일반적으로 각 파트마다 네트워크
왕복이 필요하기 때문입니다(예: 객체 스토리지에서는 파트당 HTTP `DELETE` 1회). 따라서
파트를 100개만 직렬로 삭제해도 `DROP TABLE`이 수십 초 동안
지연될 수 있습니다.
