> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-postgresql-tls-support.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# use_skip_indexes_* 세션 설정

> use_skip_indexes_* 생성 그룹에 속한 ClickHouse 세션 설정입니다.

export const VersionHistory = ({rows = []}) => {
  if (rows.length === 0) {
    return null;
  }
  const headers = ["버전", "기본값", "설명"];
  const border = "1px solid rgba(128, 128, 128, 0.3)";
  const cell = {
    border,
    padding: "0.25rem 0.5rem",
    textAlign: "start",
    verticalAlign: "top"
  };
  return <details className="not-prose" style={{
    border,
    borderRadius: "0.5rem",
    margin: "0.5rem 0",
    padding: "0.5rem 0.75rem",
    fontSize: "0.8125rem",
    lineHeight: "1.125rem"
  }}>
      <summary style={{
    cursor: "pointer",
    fontWeight: 600,
    opacity: 0.72
  }}>
        버전 이력
      </summary>
      <table style={{
    borderCollapse: "collapse",
    width: "100%",
    margin: "0.5rem 0 0"
  }}>
        <thead>
          <tr>
            {headers.map(header => <th key={header} style={{
    ...cell,
    fontWeight: 600,
    opacity: 0.72
  }}>
                {header}
              </th>)}
          </tr>
        </thead>
        <tbody>
          {rows.map((row, row_index) => <tr key={row.id ?? row_index}>
              {(row.items ?? []).map((item, item_index) => <td key={item_index} style={{
    ...cell,
    overflowWrap: "anywhere"
  }}>
                  {item?.label}
                </td>)}
            </tr>)}
        </tbody>
      </table>
    </details>;
};

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](/ko/reference/system-tables/settings)에서 확인할 수 있으며 [소스 코드](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp)에서 자동 생성됩니다.

<div id="use_skip_indexes">
  ## use\_skip\_indexes
</div>

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

쿼리 실행 시 데이터 스키핑 인덱스를 사용합니다.

가능한 값:

* 0 — 비활성화됨.
* 1 — 활성화됨.

<div id="use_skip_indexes_for_disjunctions">
  ## use\_skip\_indexes\_for\_disjunctions
</div>

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

스킵 인덱스를 사용해 AND와 OR 조건이 혼합된 WHERE 필터를 평가합니다. 예시: WHERE A = 5 AND (B = 5 OR C = 5).
비활성화되어도 스킵 인덱스는 WHERE 조건 평가에 계속 사용되지만, AND로 연결된 절만 포함할 수 있습니다.

가능한 값:

* 0 — 비활성화됨.
* 1 — 활성화됨.

<div id="use_skip_indexes_for_top_k">
  ## use\_skip\_indexes\_for\_top\_k
</div>

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

TopK 필터링에 데이터 스키핑 인덱스를 사용하도록 설정합니다.

활성화하면 `ORDER BY <column> LIMIT n` 쿼리의 컬럼에 minmax 스킵 인덱스가 있는 경우, 옵티마이저는 최종 결과와 관련 없는 그래뉼을 건너뛰기 위해 minmax 인덱스를 사용하려고 시도합니다. 이렇게 하면 쿼리 지연 시간을 줄일 수 있습니다.

가능한 값:

* 0 — 비활성화됩니다.
* 1 — 활성화됩니다.

<div id="use_skip_indexes_if_final">
  ## use\_skip\_indexes\_if\_final
</div>

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

FINAL 수정자를 사용한 쿼리를 실행할 때 스킵 인덱스를 사용할지 제어합니다.

스킵 인덱스는 최신 데이터가 포함된 행(그래뉼)을 제외할 수 있으므로, FINAL 수정자를 사용하는 쿼리에서 잘못된 결과가 나올 수 있습니다. 이 설정을 활성화하면 FINAL 수정자를 사용하더라도 스킵 인덱스가 적용되어 성능이 향상될 수 있지만, 최근 UPDATE가 누락될 위험이 있습니다. 이 설정은 use\_skip\_indexes\_if\_final\_exact\_mode 설정과 함께 활성화해야 합니다(기본값은 활성화임).

가능한 값:

* 0 — 비활성화.
* 1 — 활성화.

<div id="use_skip_indexes_if_final_exact_mode">
  ## use\_skip\_indexes\_if\_final\_exact\_mode
</div>

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

이 설정은 FINAL 수정자를 사용한 쿼리 실행 시 올바른 결과를 반환할 수 있도록, 스키핑 인덱스가 반환한 그래뉼을 더 새로운 파트에서 확장할지 여부를 제어합니다.

스킵 인덱스를 사용하면 최신 데이터를 포함한 행이 있는 그래뉼이 제외될 수 있으며, 이로 인해 잘못된 결과가 나올 수 있습니다. 이 설정을 사용하면 스킵 인덱스가 반환한 범위와 겹치는 더 새로운 파트를 스캔하여 올바른 결과를 보장할 수 있습니다. 이 설정은 스킵 인덱스 조회 기반의 근사 결과로도 애플리케이션에 문제가 없는 경우에만 비활성화해야 합니다.

가능한 값:

* 0 — 비활성화됨.
* 1 — 활성화됨.

<div id="use_skip_indexes_on_data_read">
  ## use\_skip\_indexes\_on\_data\_read
</div>

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

데이터를 읽는 동안 데이터 스키핑 인덱스를 사용하도록 설정합니다.

활성화하면 쿼리 실행이 시작되기 전에 미리 분석하는 대신, 각 데이터 그래뉼을 읽는 시점에 스킵 인덱스를 동적으로 평가합니다. 이렇게 하면 쿼리 시작 지연 시간을 줄일 수 있습니다.

가능한 값:

* 0 — 비활성화됨.
* 1 — 활성화됨.
