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

# trace_profile_events_* 세션 설정

> trace_profile_events_* 생성 그룹에 속한 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="trace_profile_events">
  ## trace\_profile\_events
</div>

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

각 프로파일 이벤트가 UPDATE될 때마다 프로파일 이벤트 이름, 증가값, 그리고 스택트레이스를 수집하여 [trace\_log](/docs/ko/reference/system-tables/trace_log)로 전송할지 여부를 활성화하거나 비활성화합니다.

가능한 값:

* 1 — 프로파일 이벤트 추적이 활성화됩니다.
* 0 — 프로파일 이벤트 추적이 비활성화됩니다.

<div id="trace_profile_events_list">
  ## trace\_profile\_events\_list
</div>

<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.1"},{"label": ""},{"label": "새로운 설정"}]}]} />

설정 `trace_profile_events`가 활성화되면 추적할 이벤트를 쉼표로 구분된 지정된 이름 목록으로 제한합니다.
`trace_profile_events_list`가 빈 문자열이면(기본값) 모든 프로파일 이벤트를 추적합니다.

예시 값: 'DiskS3ReadMicroseconds,DiskS3ReadRequestsCount,SelectQueryTimeMicroseconds,ReadBufferFromS3Bytes'

이 설정을 사용하면 많은 수의 쿼리에 대해 데이터를 더 정밀하게 수집할 수 있습니다. 그렇지 않으면 방대한 양의 이벤트로 인해 내부 시스템 로그 큐에 오버플로우가 발생하여 그중 일부가 삭제될 수 있습니다.
