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

# allow_suspicious_* 세션 설정

> allow_suspicious_* 그룹에 속하는 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)에서 확인할 수 있으며, [source](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp)를 기반으로 자동 생성됩니다.

<div id="allow_suspicious_codecs">
  ## allow\_suspicious\_codecs
</div>

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

<VersionHistory rows={[{"id": "row-1","items": [{"label": "20.5"},{"label": "0"},{"label": "무의미한 압축 코덱은 지정할 수 없음"}]}]} />

true로 설정하면 무의미한 압축 코덱을 지정할 수 있습니다.

<div id="allow_suspicious_fixed_string_types">
  ## allow\_suspicious\_fixed\_string\_types
</div>

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

CREATE TABLE 문에서 n > 256인 FixedString(n) 타입의 컬럼을 생성할 수 있도록 합니다. 길이가 256 이상인 FixedString은 일반적이지 않으며, 대부분 잘못 사용한 것일 가능성이 높습니다.

<div id="allow_suspicious_indices">
  ## allow\_suspicious\_indices
</div>

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

<VersionHistory rows={[{"id": "row-1","items": [{"label": "23.4"},{"label": "0"},{"label": "true인 경우 동일한 표현식으로 인덱스를 정의할 수 있습니다"}]}]} />

동일한 표현식을 가진 프라이머리/세컨더리 인덱스와 정렬 키를 거부합니다

<div id="allow_suspicious_low_cardinality_types">
  ## allow\_suspicious\_low\_cardinality\_types
</div>

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

8바이트 이하의 고정 크기 데이터 타입, 즉 숫자 데이터 타입과 `FixedString(8_bytes_or_less)`에 [LowCardinality](/docs/ko/reference/data-types/lowcardinality)를 사용하는 것을 허용하거나 제한합니다.

작은 고정값에 `LowCardinality`를 사용하는 것은 일반적으로 비효율적입니다. ClickHouse는 각 행에 숫자 인덱스를 저장하기 때문입니다. 그 결과:

* 디스크 사용량이 증가할 수 있습니다.
* 딕셔너리 크기에 따라 RAM 사용량이 더 커질 수 있습니다.
* 추가적인 코딩/인코딩 연산으로 인해 일부 함수의 동작 속도가 느려질 수 있습니다.

위에서 설명한 이유들로 인해 [MergeTree](/docs/ko/reference/engines/table-engines/mergetree-family/mergetree) 엔진 테이블의 머지 시간이 길어질 수 있습니다.

가능한 값:

* 1 — `LowCardinality` 사용이 제한되지 않습니다.
* 0 — `LowCardinality` 사용이 제한됩니다.

<div id="allow_suspicious_primary_key">
  ## allow\_suspicious\_primary\_key
</div>

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

<VersionHistory rows={[{"id": "row-1","items": [{"label": "24.3"},{"label": "0"},{"label": "MergeTree에서 의심스러운 PRIMARY KEY/ORDER BY(예: SimpleAggregateFunction)를 금지합니다"}]}]} />

MergeTree에서 의심스러운 `PRIMARY KEY`/`ORDER BY`(예: SimpleAggregateFunction)를 허용합니다.

<div id="allow_suspicious_ttl_expressions">
  ## allow\_suspicious\_ttl\_expressions
</div>

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

<VersionHistory rows={[{"id": "row-1","items": [{"label": "23.12"},{"label": "0"},{"label": "이는 새로운 설정이며, 이전 버전에서는 허용한 것과 동일하게 동작했습니다."}]}]} />

테이블의 어떤 컬럼에도 의존하지 않는 TTL 표현식은 거부합니다. 이는 대부분 사용자 오류를 의미합니다.

<div id="allow_suspicious_types_in_group_by">
  ## allow\_suspicious\_types\_in\_group\_by
</div>

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

<VersionHistory rows={[{"id": "row-1","items": [{"label": "24.11"},{"label": "0"},{"label": "기본적으로 GROUP BY에서 Variant/Dynamic 타입을 허용하지 않습니다"}]}]} />

GROUP BY 키로 [Variant](/docs/ko/reference/data-types/variant) 및 [Dynamic](/docs/ko/reference/data-types/dynamic) 타입을 사용하는 것을 허용하거나 제한합니다.

<div id="allow_suspicious_types_in_order_by">
  ## allow\_suspicious\_types\_in\_order\_by
</div>

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

<VersionHistory rows={[{"id": "row-1","items": [{"label": "24.11"},{"label": "0"},{"label": "기본적으로 ORDER BY에서 Variant\/Dynamic 타입을 허용하지 않습니다"}]}]} />

ORDER BY 키에 [Variant](/docs/ko/reference/data-types/variant) 및 [Dynamic](/docs/ko/reference/data-types/dynamic) 타입을 사용할 수 있도록 허용하거나 제한합니다.

<div id="allow_suspicious_variant_types">
  ## allow\_suspicious\_variant\_types
</div>

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

<VersionHistory rows={[{"id": "row-1","items": [{"label": "24.2"},{"label": "0"},{"label": "기본적으로 문제가 있을 수 있는 variants를 포함한 Variant 타입의 생성을 허용하지 않습니다."}]}]} />

CREATE TABLE 문에서 서로 유사한 variant 타입(예: 서로 다른 숫자 타입 또는 Date 타입)을 포함하는 Variant 타입을 지정할 수 있습니다. 이 설정을 활성화하면 유사한 타입의 값을 다룰 때 일부 모호성이 생길 수 있습니다.
