> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-mintlify-fbfa8bee.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Tabela de sistema que contém informações sobre as configurações globais do servidor, especificadas em `config.xml`.

# system.server_settings

<Info>
  **Consultas no ClickHouse Cloud**

  Os dados nesta tabela de sistema são mantidos localmente em cada nó do ClickHouse Cloud. Portanto, para obter uma visão completa de todos os dados, é necessário usar a função `clusterAllReplicas`. Consulte [aqui](/pt-BR/reference/system-tables/overview#system-tables-in-clickhouse-cloud) para mais detalhes.
</Info>

<div id="description">
  ## Descrição
</div>

Contém informações sobre as configurações globais do servidor, especificadas em `config.xml`.
Atualmente, a tabela mostra apenas as configurações da primeira camada de `config.xml` e não oferece suporte a configurações aninhadas (por exemplo, [logger](/pt-BR/reference/settings/server-settings/settings#logger)).

<div id="columns">
  ## Colunas
</div>

* `name` ([String](/pt-BR/reference/data-types/index)) — Nome da configuração do servidor.
* `value` ([String](/pt-BR/reference/data-types/index)) — Valor da configuração do servidor.
* `default` ([String](/pt-BR/reference/data-types/index)) — Valor padrão da configuração do servidor.
* `changed` ([UInt8](/pt-BR/reference/data-types/index)) — Indica se uma configuração foi especificada em config.xml
* `description` ([String](/pt-BR/reference/data-types/index)) — Descrição breve da configuração do servidor.
* `type` ([String](/pt-BR/reference/data-types/index)) — Tipo do valor da configuração do servidor.
* `changeable_without_restart` ([Enum8('No' = 0, 'IncreaseOnly' = 1, 'DecreaseOnly' = 2, 'Yes' = 3)](/pt-BR/reference/data-types/index)) — Indica se uma configuração pode ser alterada em tempo de execução.
* `is_obsolete` ([UInt8](/pt-BR/reference/data-types/index)) — Indica se uma configuração está obsoleta.

<div id="example">
  ## Exemplo
</div>

O exemplo a seguir mostra como obter informações sobre as configurações do servidor cujo nome contém `thread_pool`.

```sql theme={null}
SELECT *
FROM system.server_settings
WHERE name LIKE '%thread_pool%'
```

```text theme={null}
┌─name──────────────────────────────────────────┬─value─┬─default─┬─changed─┬─description─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬─type───┬─changeable_without_restart─┬─is_obsolete─┐
│ max_thread_pool_size                          │ 10000 │ 10000   │       0 │ The maximum number of threads that could be allocated from the OS and used for query execution and background operations.                           │ UInt64 │                         No │           0 │
│ max_thread_pool_free_size                     │ 1000  │ 1000    │       0 │ The maximum number of threads that will always stay in a global thread pool once allocated and remain idle in case of insufficient number of tasks. │ UInt64 │                         No │           0 │
│ thread_pool_queue_size                        │ 10000 │ 10000   │       0 │ The maximum number of tasks that will be placed in a queue and wait for execution.                                                                  │ UInt64 │                         No │           0 │
│ max_io_thread_pool_size                       │ 100   │ 100     │       0 │ The maximum number of threads that would be used for IO operations                                                                                  │ UInt64 │                         No │           0 │
│ max_io_thread_pool_free_size                  │ 0     │ 0       │       0 │ Max free size for IO thread pool.                                                                                                                   │ UInt64 │                         No │           0 │
│ io_thread_pool_queue_size                     │ 10000 │ 10000   │       0 │ Queue size for IO thread pool.                                                                                                                      │ UInt64 │                         No │           0 │
│ max_active_parts_loading_thread_pool_size     │ 64    │ 64      │       0 │ The number of threads to load active set of data parts (Active ones) at startup.                                                                    │ UInt64 │                         No │           0 │
│ max_outdated_parts_loading_thread_pool_size   │ 32    │ 32      │       0 │ The number of threads to load inactive set of data parts (Outdated ones) at startup.                                                                │ UInt64 │                         No │           0 │
│ max_unexpected_parts_loading_thread_pool_size │ 32    │ 32      │       0 │ The number of threads to load inactive set of data parts (Unexpected ones) at startup.                                                              │ UInt64 │                         No │           0 │
│ max_parts_cleaning_thread_pool_size           │ 128   │ 128     │       0 │ The number of threads for concurrent removal of inactive data parts.                                                                                │ UInt64 │                         No │           0 │
│ max_backups_io_thread_pool_size               │ 1000  │ 1000    │       0 │ The maximum number of threads that would be used for IO operations for BACKUP queries                                                               │ UInt64 │                         No │           0 │
│ max_backups_io_thread_pool_free_size          │ 0     │ 0       │       0 │ Max free size for backups IO thread pool.                                                                                                           │ UInt64 │                         No │           0 │
│ backups_io_thread_pool_queue_size             │ 0     │ 0       │       0 │ Queue size for backups IO thread pool.                                                                                                              │ UInt64 │                         No │           0 │
└───────────────────────────────────────────────┴───────┴─────────┴─────────┴─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴────────┴────────────────────────────┴─────────────┘

```

O uso de `WHERE changed` pode ser útil, por exemplo, quando você quiser verificar
se as configurações nos arquivos de configuração foram carregadas corretamente e estão sendo usadas.

```sql theme={null}
SELECT * FROM system.server_settings WHERE changed AND name='max_thread_pool_size'
```

<div id="see-also">
  ## Veja também
</div>

* [Configurações](/pt-BR/reference/system-tables/settings)
* [Arquivos de configuração](/pt-BR/concepts/features/configuration/server-config/configuration-files)
* [Configurações do servidor](/pt-BR/reference/settings/server-settings/settings)
