> ## 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 table settings

> ClickHouse MergeTree table settings in the cleanup_delay_period_* generated group.

These settings are available in [system.merge\_tree\_settings](https://clickhouse.com/docs/reference/system-tables/merge_tree_settings.md) and are autogenerated from ClickHouse source.

## cleanup\_delay\_period

Type

UInt64

Default

30

Minimum period to clean old queue logs, blocks hashes and parts.

## cleanup\_delay\_period\_random\_add

Type

UInt64

Default

10

Add uniformly distributed value from 0 to x seconds to cleanup\_delay\_period
to avoid thundering herd effect and subsequent DoS of ZooKeeper in case of
very large number of tables.
