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

# use_query_* 세션 설정

> use_query_* 그룹에 속한 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="use_query_cache">
  ## use\_query\_cache
</div>

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

이 설정을 활성화하면 `SELECT` 쿼리에서 [쿼리 캐시](/docs/ko/concepts/features/performance/caches/query-cache)를 사용할 수 있습니다. 매개변수 [enable\_reads\_from\_query\_cache](/docs/ko/reference/settings/session-settings/enable#enable_reads_from_query_cache)
및 [enable\_writes\_to\_query\_cache](/docs/ko/reference/settings/session-settings/enable#enable_writes_to_query_cache)는 캐시 사용 방식을 더 세부적으로 제어합니다.

가능한 값:

* 0 - 비활성화됨
* 1 - 활성화됨

<div id="use_query_condition_cache">
  ## use\_query\_condition\_cache
</div>

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

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.4"},{"label": "1"},{"label": "새로운 최적화"}]}, {"id": "row-2","items": [{"label": "25.3"},{"label": "0"},{"label": "새 설정입니다."}]}]} />

[쿼리 조건 캐시](/docs/ko/concepts/features/performance/caches/query-condition-cache)를 활성화합니다. 이 캐시는 `WHERE` 절의 조건을 만족하지 않는 데이터 파트(data part)의 그래뉼 범위를 저장하고,
이 정보를 후속 쿼리에서 임시 인덱스로 재사용합니다.

가능한 값:

* 0 - 비활성화됨
* 1 - 활성화됨
