ClickHouse/docs/zh
filimonov fbb22348ea
Refactor reading the pool setting & from server config. (#48055)
After #36425 there was a lot of confusions/problems with configuring pools - when the message was confusing, and settings need to be ajusted in several places.
See some examples in #44251, #43351, #47900, #46515.

The commit includes the following changes:
1) Introduced a unified mechanism for reading pool sizes from the configuration file(s). Previously, pool sizes were read from the Context.cpp with fallbacks to profiles, whereas main_config_reloader in Server.cpp read them directly without fallbacks.
2) Corrected the data type for background_merges_mutations_concurrency_ratio. It should be float instead of int.
3) Refactored the default values for settings. Previously, they were defined in multiple places throughout the codebase, but they are now defined in one place (or two, to be exact: Settings.h and ServerSettings.h).
4) Improved documentation, including the correct message in system.settings.

Additionally make the code more conform with #46550.
2023-03-30 16:44:11 +02:00
..
changelog add slugs to all docs 2022-08-26 15:07:59 -04:00
commercial add slugs to all docs 2022-08-26 15:07:59 -04:00
development New nav - reverting the revert 2023-03-17 21:45:43 -05:00
engines Refactor reading the pool setting & from server config. (#48055) 2023-03-30 16:44:11 +02:00
faq fix md 2023-03-26 22:15:23 +08:00
getting-started New nav - reverting the revert 2023-03-17 21:45:43 -05:00
guides make doc more concise 2023-03-23 20:47:29 +01:00
images [ImgBot] Optimize images 2020-05-11 03:31:47 +00:00
interfaces New nav - reverting the revert 2023-03-17 21:45:43 -05:00
introduction Remove leftover empty lines at the end of markdown files 2023-01-09 15:15:18 +01:00
operations New nav - reverting the revert 2023-03-17 21:45:43 -05:00
sql-reference Link fixes 2023-03-23 14:56:18 -06:00
whats-new Update security-changelog in chinese 2022-11-30 09:46:32 +08:00
_category_.yml Update _category_.yml 2022-04-19 14:08:14 -06:00
index.md Remove leftover empty lines at the end of markdown files 2023-01-09 15:15:18 +01:00