> ## 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_bytes_* 세션 설정

> 자동 생성된 min_bytes_* 그룹에 속한 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="min_bytes_to_use_direct_io">
  ## min\_bytes\_to\_use\_direct\_io
</div>

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

스토리지 디스크에 direct I/O로 접근하는 데 필요한 최소 데이터 용량입니다.

ClickHouse는 테이블에서 데이터를 읽을 때 이 설정을 사용합니다. 읽어야 할 모든 데이터의 총 스토리지 용량이 `min_bytes_to_use_direct_io`바이트를 초과하면 ClickHouse는 `O_DIRECT` 옵션을 사용해 스토리지 디스크에서 데이터를 읽습니다.

가능한 값:

* 0 — direct I/O가 비활성화됩니다.
* 양의 정수.

<div id="min_bytes_to_use_mmap_io">
  ## min\_bytes\_to\_use\_mmap\_io
</div>

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

이 설정은 Experimental 상태입니다. 커널에서 사용자 공간으로 데이터를 복사하지 않고 대용량 파일을 읽기 위한 최소 메모리 크기를 설정합니다. [mmap/munmap](https://en.wikipedia.org/wiki/Mmap)은 느리므로 권장 임계값은 약 64 MB입니다. 이 설정은 대용량 파일에만 의미가 있으며, 데이터가 페이지 캐시에 있을 때만 도움이 됩니다.

가능한 값:

* 양의 정수입니다.
* 0 — 대용량 파일을 커널에서 사용자 공간으로 데이터를 복사하는 방식으로만 읽습니다.
