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

# inactive_parts_* MergeTree table settings

> ClickHouse MergeTree table settings in the inactive_parts_* 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.

## inactive\_parts\_to\_delay\_insert

Type

UInt64

Default

0

If the number of inactive parts in a single partition in the table exceeds
the `inactive_parts_to_delay_insert` value, an `INSERT` is artificially
slowed down.

> [!TIP]
>
> It is useful when a server fails to clean up parts quickly enough.

Possible values:

* Any positive integer.

## inactive\_parts\_to\_throw\_insert

Type

UInt64

Default

0

If the number of inactive parts in a single partition more than the
`inactive_parts_to_throw_insert` value, `INSERT` is interrupted with the
following error:

> "Too many inactive parts (N). Parts cleaning are processing significantly
> slower than inserts" exception."

Possible values:

* Any positive integer.
