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

# query_profiler_* 세션 설정

> query_profiler_*로 생성된 그룹의 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="query_profiler_cpu_time_period_ns">
  ## query\_profiler\_cpu\_time\_period\_ns
</div>

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

[쿼리 프로파일러](/docs/ko/concepts/features/performance/troubleshoot/sampling-query-profiler)의 CPU 클록 타이머 주기를 설정합니다. 이 타이머는 CPU 시간만 계산합니다.

가능한 값:

* 양의 정수 나노초 값

  권장 값:

  * 단일 쿼리에는 10000000(초당 100회)나노초 이상
  * 클러스터 전체 프로파일링에는 1000000000(초당 1회)

* 타이머를 끄려면 0

관련 항목:

* 시스템 테이블 [trace\_log](/docs/ko/reference/system-tables/trace_log)

<div id="query_profiler_real_time_period_ns">
  ## query\_profiler\_real\_time\_period\_ns
</div>

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

[쿼리 프로파일러](/docs/ko/concepts/features/performance/troubleshoot/sampling-query-profiler)의 실제 시간 타이머 주기를 설정합니다. 실제 시간 타이머는 경과 시간(wall-clock time)을 측정합니다.

가능한 값:

* 나노초 단위의 양의 정수입니다.

  권장 값:

  * 단일 쿼리의 경우 10000000(초당 100회)나노초 이하
  * 클러스터 전체 프로파일링의 경우 1000000000(초당 1회)

* 타이머를 끄려면 0입니다.

관련 항목:

* 시스템 테이블 [trace\_log](/docs/ko/reference/system-tables/trace_log)

Cloud 기본값: `3000000000`.
