mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 14:11:58 +00:00
5182b60026
for i in $(find . -name '*.rst'); do grep -F -q '.. code-block:: ' $i && cat $i | sed -r -e 's/$/<NEWLINE>/' | tr -d '\n' | sed -r -e 's/([^>])<NEWLINE>.. code-block::/\1<NEWLINE><NEWLINE>.. code-block::/g' | sed -r -e 's/<NEWLINE>/\n/g' > ${i}.tmp && mv ${i}.tmp ${i}; done
28 lines
984 B
ReStructuredText
28 lines
984 B
ReStructuredText
system.settings
|
|
---------------
|
|
|
|
Contains information about settings that are currently in use (i.e. used for executing the query you are using to read from the system.settings table).
|
|
|
|
Columns:
|
|
|
|
.. code-block:: text
|
|
|
|
name String - Setting name.
|
|
value String - Setting value.
|
|
changed UInt8 - Whether the setting was explicitly defined in the config or explicitly changed.
|
|
|
|
Example:
|
|
|
|
.. code-block:: sql
|
|
|
|
SELECT *
|
|
FROM system.settings
|
|
WHERE changed
|
|
|
|
┌─name───────────────────┬─value───────┬─changed─┐
|
|
│ max_threads │ 8 │ 1 │
|
|
│ use_uncompressed_cache │ 0 │ 1 │
|
|
│ load_balancing │ random │ 1 │
|
|
│ max_memory_usage │ 10000000000 │ 1 │
|
|
└────────────────────────┴─────────────┴─────────┘
|