> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-postgresql-tls-support.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# table_* MergeTree 테이블 설정

> table_* 생성 그룹에 포함된 ClickHouse MergeTree 테이블 설정입니다.

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.merge\_tree\_settings](/ko/reference/system-tables/merge_tree_settings)에서 확인할 수 있으며, ClickHouse 소스에서 자동 생성됩니다.

<div id="table_disk">
  ## table\_disk
</div>

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

이는 table disk입니다. 경로/엔드포인트는 데이터베이스 데이터가 아니라 테이블 데이터를 가리켜야
합니다. s3\_plain/s3\_plain\_rewritable/web에서만 설정할 수 있습니다.

<div id="table_readonly">
  ## table\_readonly
</div>

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

true로 설정하면 테이블은 읽기 전용 모드가 되며 디스크에서 어떠한 수정 작업도 수행하지 않습니다.

테이블을 수정하는 모든 포그라운드 작업은 거부됩니다. 여기에는 삽입, 뮤테이션, `OPTIMIZE`, 그리고 데이터를 변경하는 파티션 명령
(`ATTACH`/`MOVE`/`DROP`/`DROP DETACHED`/`FETCH`/`REPLACE PARTITION`, 그리고 이 테이블을 대상으로 하는 `MOVE PARTITION ... TO TABLE`)이 포함됩니다. 반면 `FREEZE`/`UNFREEZE` 및 `FORGET PARTITION`처럼
테이블 데이터를 수정하지 않는 작업은 계속 허용됩니다.

백그라운드 작업도 예약되지 않습니다. 일반 머지, TTL 머지(`DELETE`/`MOVE`/재압축), 재압축 머지, 백그라운드 뮤테이션,
백그라운드 파트 이동 작업은 모두 억제됩니다. 따라서 TTL이 있는 테이블은 이 설정이
활성화된 동안 만료된 데이터를 더 이상 삭제하거나 이동하지 않습니다.

이 설정은 `ALTER TABLE ... MODIFY SETTING table_readonly = 0`(또는 `RESET SETTING`)으로 언제든지 다시 해제할 수 있습니다. `ReplicatedMergeTree`에서는 지원되지 않습니다.
