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

# max_dictionary_* server settings

> ClickHouse server settings in the max_dictionary_* generated group.

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
  }}>Type</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{type}</div>
      <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>Default</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{default_value}</div>
      {changeable_without_restart && <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>
          Changeable without restart
        </div>}
      {changeable_without_restart && <div style={{
    overflowWrap: "anywhere"
  }}>
          {changeable_without_restart}
        </div>}
    </div>;
};

These settings configure the ClickHouse server and are autogenerated from ClickHouse source.

<h2 id="max_dictionary_num_to_throw">
  max\_dictionary\_num\_to\_throw
</h2>

<SettingsInfoBlock type="UInt64" default_value="0" changeable_without_restart="Yes" />

If the number of dictionaries is greater than this value, the server will throw an exception.

Only counts tables for database engines:

* Atomic
* Ordinary
* Replicated
* Lazy

<Note>
  A value of `0` means no limitation.
</Note>

**Example**

```xml theme={null}
<max_dictionary_num_to_throw>400</max_dictionary_num_to_throw>
```

<h2 id="max_dictionary_num_to_warn">
  max\_dictionary\_num\_to\_warn
</h2>

<SettingsInfoBlock type="UInt64" default_value="1000" changeable_without_restart="Yes" />

If the number of attached dictionaries exceeds the specified value, clickhouse server will add warning messages to `system.warnings` table.

**Example**

```xml theme={null}
<max_dictionary_num_to_warn>400</max_dictionary_num_to_warn>
```
