2023-02-22 23:28:30 +00:00
---
slug: /en/operations/system-tables/server_settings
---
# server_settings
Contains information about global settings for the server, which were specified in `config.xml` .
Currently, the table shows only settings from the first layer of `config.xml` and doesn't support nested configs (e.g. [logger ](../../operations/server-configuration-parameters/settings.md#server_configuration_parameters-logger )).
Columns:
- `name` ([String](../../sql-reference/data-types/string.md)) — Server setting name.
- `value` ([String](../../sql-reference/data-types/string.md)) — Server setting value.
2023-02-23 23:24:57 +00:00
- `default` ([String](../../sql-reference/data-types/string.md)) — Server setting default value.
2023-02-22 23:28:30 +00:00
- `changed` ([UInt8](../../sql-reference/data-types/int-uint.md#uint-ranges)) — Shows whether a setting was specified in `config.xml`
- `description` ([String](../../sql-reference/data-types/string.md)) — Short server setting description.
- `type` ([String](../../sql-reference/data-types/string.md)) — Server setting value type.
**Example**
The following example shows how to get information about server settings which name contains `thread_pool` .
``` sql
SELECT *
FROM system.server_settings
WHERE name LIKE '%thread_pool%'
```
``` text
2023-02-23 23:24:57 +00:00
┌─name─────────────────────────┬─value─┬─default─┬─changed─┬─description───────────────────────────┬─type───┐
2023-02-24 15:18:06 +00:00
│ max_thread_pool_size │ 5000 │ 10000 │ 1 │ Max size for global thread pool. │ UInt64 │
2023-02-23 23:24:57 +00:00
│ max_thread_pool_free_size │ 1000 │ 1000 │ 0 │ Max free size for global thread pool. │ UInt64 │
│ thread_pool_queue_size │ 10000 │ 10000 │ 0 │ Queue size for global thread pool. │ UInt64 │
│ max_io_thread_pool_size │ 100 │ 100 │ 0 │ Max size for IO thread pool. │ UInt64 │
│ max_io_thread_pool_free_size │ 0 │ 0 │ 0 │ Max free size for IO thread pool. │ UInt64 │
│ io_thread_pool_queue_size │ 10000 │ 10000 │ 0 │ Queue size for IO thread pool. │ UInt64 │
└──────────────────────────────┴───────┴─────────┴─────────┴───────────────────────────────────────┴────────┘
2023-02-22 23:28:30 +00:00
```
Using of `WHERE changed` can be useful, for example, when you want to check
whether settings in configuration files are loaded correctly and are in use.
<!-- -->
``` sql
SELECT * FROM system.server_settings WHERE changed AND name='max_thread_pool_size'
```
**See also**
- [Settings ](../../operations/system-tables/settings.md )
- [Configuration Files ](../../operations/configuration-files.md )
- [Server Settings ](../../operations/server-configuration-parameters/settings.md )