> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-parallel-read-in-order-multi-part.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# enable_join_* 세션 설정

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

export const BetaBadge = ({link, galaxyTrack, galaxyEvent}) => {
  if (link) {
    return <a href={link} target="_blank" rel="noopener noreferrer" className="betaBadge" onClick={galaxyTrack && galaxyEvent ? galaxyOnClick(galaxyEvent) : undefined}>
                <span>베타</span>
            </a>;
  }
  return <a href="https://clickhouse.com/docs/reference/settings/beta-and-experimental-features#beta-features" className="betaBadge">
            <span>베타 기능</span>
        </a>;
};

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)에서 자동 생성됩니다.

## enable\_join\_fixed\_hash\_table\_conversion

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

<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.4"},{"label": "1"},{"label": "키가 값 범위가 작은 단일 정수인 경우, 조인 시 해시 테이블을 평면 배열로 변환하는 기능을 활성화하는 새로운 설정입니다."}]}]} />

키가 값 범위가 작은 단일 정수인 경우, 조인 시 해시 테이블을 평면 배열로 변환하는 기능을 활성화합니다.

## enable\_join\_key\_only\_hash\_tables

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

<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.9"},{"label": "1"},{"label": "결과에 오른쪽 행의 값이 포함될 수 없는 조인(`LEFT ANTI`, 그리고 오른쪽 컬럼을 선택하지 않은 `LEFT SEMI`)의 해시 테이블에 오른쪽 행에 대한 참조 없이 JOIN 키만 저장하는 새로운 설정."}]}]} />

결과에 오른쪽 행에서 가져온 값이 절대 포함될 수 없는 조인, 즉 `LEFT ANTI` 및 오른쪽 컬럼을 선택하지 않은 `LEFT SEMI`에서는 오른쪽 행에 대한 참조 없이 JOIN 키만 저장하는 해시 테이블을 사용합니다. 이러한 테이블은 cell 크기가 더 작고, 오른쪽 block을 저장하지 않고 삭제할 수 있습니다.

## enable\_join\_runtime\_filters

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

<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.9"},{"label": "1"},{"label": "JOIN 런타임 필터가 Production 티어 기능이 되었습니다."}]}, {"id": "row-2","items": [{"label": "26.2"},{"label": "1"},{"label": "이 최적화가 활성화되었습니다"}]}, {"id": "row-3","items": [{"label": "25.10"},{"label": "0"},{"label": "새로운 설정"}]}]} />

런타임에 오른쪽에서 수집한 JOIN 키 집합을 사용해 왼쪽을 필터링합니다.

## enable\_join\_runtime\_filters\_index\_analysis

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

<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.9"},{"label": "0"},{"label": "JOIN 런타임 필터가 Production 티어 기능이 되었습니다."}]}, {"id": "row-2","items": [{"label": "26.7"},{"label": "0"},{"label": "동적 인덱스 분석을 사용해 조인 필터링을 활성화하는 새로운 설정"}]}]} />

두 번째 패스 인덱스 분석(`use_skip_indexes_on_data_read` 사용)을 실행해 조인의 좌측(LHS)에서 그래뉼을 프루닝합니다.

## enable\_join\_transitive\_predicates

<BetaBadge />

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

<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.6"},{"label": "1"},{"label": "기본적으로 enable_join_transitive_predicates를 활성화합니다"}]}, {"id": "row-2","items": [{"label": "26.4"},{"label": "0"},{"label": "조인 순서 최적화를 위해 전이적 동등 조인 프레디케이트를 추론하는 새로운 설정입니다."}]}]} />

기존 조인 조건에서 전이적 동등 조인 프레디케이트를 추론합니다.
예를 들어 `A.x = B.x` 및 `B.x = C.x`가 주어지면, 조인 순서 최적화기가 직접 `A JOIN C` 계획을
고려할 수 있도록 `A.x = C.x`라는 합성 프레디케이트가 추가됩니다.
