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

# min_free_* MergeTree 테이블 설정

> min_free_* 그룹에 속한 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="min_free_disk_bytes_to_perform_insert">
  ## min\_free\_disk\_bytes\_to\_perform\_insert
</div>

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

데이터를 삽입하려면 디스크 공간에 확보되어 있어야 하는 최소 바이트 수입니다. 사용 가능한 여유 바이트 수가
`min_free_disk_bytes_to_perform_insert`보다 적으면 예외가 발생하고
삽입이 실행되지 않습니다. 이 설정은 다음과 같습니다.

* `keep_free_space_bytes` 설정을 고려합니다.
* `INSERT` 작업으로 기록될 데이터 양은 고려하지 않습니다.
* 양수(0이 아닌) 바이트 수가 지정된 경우에만 확인됩니다.

가능한 값:

* 임의의 양의 정수.

<Note>
  `min_free_disk_bytes_to_perform_insert`와 `min_free_disk_ratio_to_perform_insert`
  가 모두 지정되면, ClickHouse는 더 많은 여유 디스크 공간에서
  삽입을 수행할 수 있도록 하는 값을 기준으로 사용합니다.
</Note>

<div id="min_free_disk_ratio_to_perform_insert">
  ## min\_free\_disk\_ratio\_to\_perform\_insert
</div>

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

`INSERT`를 수행하기 위해 필요한 디스크 전체 공간 대비 최소 여유 공간 비율입니다. 값은 0과 1 사이의
부동소수점 값이어야 합니다. 이 설정은 다음 사항에 유의하십시오.

* `keep_free_space_bytes` 설정을 고려합니다.
* `INSERT` 작업으로 기록될 데이터의 양은 고려하지 않습니다.
* 양수(0이 아닌 값) 비율이 지정된 경우에만 확인됩니다.

가능한 값:

* Float, 0.0 - 1.0

`min_free_disk_ratio_to_perform_insert`와
`min_free_disk_bytes_to_perform_insert`가 모두 지정된 경우, ClickHouse는 더 많은
여유 공간에서 삽입을 수행할 수 있게 하는 값을 기준으로 판단합니다.
