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

# distributed_* サーバー設定

> distributed_* 生成グループに含まれる 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>;
};

これらの設定は ClickHouseサーバーを構成するもので、ClickHouse のソースから自動生成されています。

<div id="distributed_ddl.cleanup_delay_period">
  ## distributed\_ddl.cleanup\_delay\_period
</div>

<SettingsInfoBlock type="UInt64" default_value="60" changeable_without_restart="No" />前回のクリーンアップから `<cleanup_delay_period>` 秒以上経過している場合、新しいノードのイベントを受信した後にクリーンアップが開始されます。

<div id="distributed_ddl.max_tasks_in_queue">
  ## distributed\_ddl.max\_tasks\_in\_queue
</div>

<SettingsInfoBlock type="UInt64" default_value="1000" changeable_without_restart="No" />キューに入れられるタスクの最大数。

<div id="distributed_ddl.path">
  ## distributed\_ddl.path
</div>

<SettingsInfoBlock type="String" default_value="/clickhouse/task_queue/ddl/" changeable_without_restart="No" />DDLクエリ 用の `<task_queue>` の Keeper 内のパス

<div id="distributed_ddl.pool_size">
  ## distributed\_ddl.pool\_size
</div>

<SettingsInfoBlock type="Int32" default_value="1" changeable_without_restart="No" />同時に実行できる`<ON CLUSTER>`クエリの数

<div id="distributed_ddl.profile">
  ## distributed\_ddl.profile
</div>

DDLクエリの実行に使用するプロファイル

<div id="distributed_ddl.replicas_path">
  ## distributed\_ddl.replicas\_path
</div>

<SettingsInfoBlock type="String" default_value="/clickhouse/task_queue/replicas/" changeable_without_restart="No" />レプリカ用の `<task_queue>` の Keeper 内パス

<div id="distributed_ddl.task_max_lifetime">
  ## distributed\_ddl.task\_max\_lifetime
</div>

<SettingsInfoBlock type="UInt64" default_value="604800" changeable_without_restart="No" />存続時間がこの値を超えたノードを削除します。
