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

# cleanup_delay_period_* MergeTree テーブル設定

> cleanup_delay_period_* グループに含まれる ClickHouse MergeTree テーブル設定。

これらの設定は [system.merge\_tree\_settings](https://clickhouse.com/docs/ja/reference/system-tables/merge_tree_settings.md) で確認でき、ClickHouse のソースから自動生成されています。

## cleanup\_delay\_period

型

UInt64

デフォルト値

30

古いキューログ、ブロックのハッシュ、パーツをクリーンアップする最小間隔。

## cleanup\_delay\_period\_random\_add

型

UInt64

デフォルト値

10

テーブル数が非常に多い場合に、cleanup\_delay\_period に 0 〜 x 秒の一様分布する値を加えることで、
サンダリングハード問題と、それに伴う ZooKeeper への DoS を回避します。
