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

# paramètres du serveur max_view_*

> Paramètres du serveur ClickHouse du groupe généré max_view_*.

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"
  }}>Par défaut</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{default_value}</div>
      {changeable_without_restart && <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>
          Modifiable sans redémarrage
        </div>}
      {changeable_without_restart && <div style={{
    overflowWrap: "anywhere"
  }}>
          {changeable_without_restart}
        </div>}
    </div>;
};

Ces paramètres configurent le serveur ClickHouse et sont générés automatiquement à partir du code source de ClickHouse.

<div id="max_view_num_to_throw">
  ## max\_view\_num\_to\_throw
</div>

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

Si le nombre de vues dépasse cette valeur, le serveur lèvera une exception.

Ne compte que les tables pour les moteurs de base de données suivants :

* Atomic
* Ordinary
* Replicated
* Lazy

<Note>
  Une valeur de `0` signifie qu’il n’y a pas de limite.
</Note>

**Exemple**

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

<div id="max_view_num_to_warn">
  ## max\_view\_num\_to\_warn
</div>

<SettingsInfoBlock type="UInt64" default_value="10000" changeable_without_restart="Oui" />

Si le nombre de vues attachées dépasse la valeur spécifiée, le serveur ClickHouse ajoutera des messages d’avertissement à la table `system.warnings`.

**Exemple**

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