From 742acf24c9d6c704279a6ebac1f24222a71c3550 Mon Sep 17 00:00:00 2001 From: romanzhukov Date: Mon, 19 Jul 2021 20:48:22 +0300 Subject: [PATCH 1/5] DOCSUP-11658: Add merge_selecting_sleep_ms setti --- docs/en/operations/settings/settings.md | 4 ++-- docs/ru/operations/settings/settings.md | 12 +++++++++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/docs/en/operations/settings/settings.md b/docs/en/operations/settings/settings.md index 5042aeae162..fb239a72afe 100644 --- a/docs/en/operations/settings/settings.md +++ b/docs/en/operations/settings/settings.md @@ -2007,13 +2007,13 @@ Default value: 16. ## merge_selecting_sleep_ms {#merge_selecting_sleep_ms} -Sleep time for merge selecting when no part selected, a lower setting will trigger selecting tasks in background_schedule_pool frequently which result in large amount of requests to zookeeper in large-scale clusters +Sleep time for merge selecting when no part selected, a lower setting will trigger selecting tasks in background_schedule_pool frequently which result in large amount of requests to zookeeper in large-scale clusters. Possible values: - Any positive integer. -Default value: 5000 +Default value: `5000`. ## parallel_distributed_insert_select {#parallel_distributed_insert_select} diff --git a/docs/ru/operations/settings/settings.md b/docs/ru/operations/settings/settings.md index 9e926a63c62..0a4e57a85c4 100644 --- a/docs/ru/operations/settings/settings.md +++ b/docs/ru/operations/settings/settings.md @@ -1821,7 +1821,7 @@ ClickHouse генерирует исключение Тип: unsigned int -озможные значения: 32 (32 байта) - 1073741824 (1 GiB) +Возможные значения: 32 (32 байта) - 1073741824 (1 GiB) Значение по умолчанию: 32768 (32 KiB) @@ -1835,6 +1835,16 @@ ClickHouse генерирует исключение Значение по умолчанию: 16. +## merge_selecting_sleep_ms {#merge_selecting_sleep_ms} + +Время ожидания для слияния выборки, если ни один кусок не выбран. Снижение времени ожидания приведет к частому выбору задач в пуле background_schedule_pool, что приведет к большому количеству запросов к zookeeper в крупных масштабируемых кластерах. + +Возможные значения: + +- Положительное целое число. + +Значение по умолчанию: `5000`. + ## parallel_distributed_insert_select {#parallel_distributed_insert_select} Включает параллельную обработку распределённых запросов `INSERT ... SELECT`. From a899e381b55afb54f2b8c3d0f7a2e2316e1720c7 Mon Sep 17 00:00:00 2001 From: romanzhukov Date: Tue, 20 Jul 2021 10:45:23 +0300 Subject: [PATCH 2/5] DOCSUP-11658: Minor fixes. --- docs/en/operations/settings/settings.md | 2 +- docs/ru/operations/settings/settings.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/operations/settings/settings.md b/docs/en/operations/settings/settings.md index fb239a72afe..733f76270ec 100644 --- a/docs/en/operations/settings/settings.md +++ b/docs/en/operations/settings/settings.md @@ -2007,7 +2007,7 @@ Default value: 16. ## merge_selecting_sleep_ms {#merge_selecting_sleep_ms} -Sleep time for merge selecting when no part selected, a lower setting will trigger selecting tasks in background_schedule_pool frequently which result in large amount of requests to zookeeper in large-scale clusters. +Sleep time for merge selecting when no part selected, a lower setting will trigger selecting tasks in `background_schedule_pool` frequently which result in large amount of requests to zookeeper in large-scale clusters. Possible values: diff --git a/docs/ru/operations/settings/settings.md b/docs/ru/operations/settings/settings.md index 0a4e57a85c4..0d4db8d8bdc 100644 --- a/docs/ru/operations/settings/settings.md +++ b/docs/ru/operations/settings/settings.md @@ -1837,7 +1837,7 @@ ClickHouse генерирует исключение ## merge_selecting_sleep_ms {#merge_selecting_sleep_ms} -Время ожидания для слияния выборки, если ни один кусок не выбран. Снижение времени ожидания приведет к частому выбору задач в пуле background_schedule_pool, что приведет к большому количеству запросов к zookeeper в крупных масштабируемых кластерах. +Время ожидания для слияния выборки, если ни один кусок не выбран. Снижение времени ожидания приведет к частому выбору задач в пуле `background_schedule_pool`, и увеличению количества запросов к zookeeper в крупных масштабируемых кластерах. Возможные значения: From a0ce414b92097fee464db96adb6e8086029b4e2a Mon Sep 17 00:00:00 2001 From: Roman Bug Date: Wed, 21 Jul 2021 10:49:29 +0300 Subject: [PATCH 3/5] Update docs/ru/operations/settings/settings.md Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com> --- docs/ru/operations/settings/settings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ru/operations/settings/settings.md b/docs/ru/operations/settings/settings.md index 0d4db8d8bdc..5d43f8ecdfc 100644 --- a/docs/ru/operations/settings/settings.md +++ b/docs/ru/operations/settings/settings.md @@ -1837,7 +1837,7 @@ ClickHouse генерирует исключение ## merge_selecting_sleep_ms {#merge_selecting_sleep_ms} -Время ожидания для слияния выборки, если ни один кусок не выбран. Снижение времени ожидания приведет к частому выбору задач в пуле `background_schedule_pool`, и увеличению количества запросов к zookeeper в крупных масштабируемых кластерах. +Время ожидания для слияния выборки, если ни один кусок не выбран. Снижение времени ожидания приводит к частому выбору задач в пуле `background_schedule_pool` и увеличению количества запросов к Zookeeper в крупных кластерах. Возможные значения: From a133afaac30c04091df00c95626c3a0e6bfc8943 Mon Sep 17 00:00:00 2001 From: Roman Bug Date: Wed, 21 Jul 2021 10:49:33 +0300 Subject: [PATCH 4/5] Update docs/en/operations/settings/settings.md Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com> --- docs/en/operations/settings/settings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/operations/settings/settings.md b/docs/en/operations/settings/settings.md index 733f76270ec..30e585baac1 100644 --- a/docs/en/operations/settings/settings.md +++ b/docs/en/operations/settings/settings.md @@ -2007,7 +2007,7 @@ Default value: 16. ## merge_selecting_sleep_ms {#merge_selecting_sleep_ms} -Sleep time for merge selecting when no part selected, a lower setting will trigger selecting tasks in `background_schedule_pool` frequently which result in large amount of requests to zookeeper in large-scale clusters. +Sleep time for merge selecting when no part selected. A lower setting triggers selecting tasks in `background_schedule_pool` frequently, which results in large amount of requests to Zookeeper in large-scale clusters. Possible values: From ae8908419e74e1360f8465221ccbad0eb0397b5e Mon Sep 17 00:00:00 2001 From: Roman Bug Date: Wed, 21 Jul 2021 16:17:11 +0300 Subject: [PATCH 5/5] Update docs/en/operations/settings/settings.md Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com> --- docs/en/operations/settings/settings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/operations/settings/settings.md b/docs/en/operations/settings/settings.md index 30e585baac1..195305b9bd9 100644 --- a/docs/en/operations/settings/settings.md +++ b/docs/en/operations/settings/settings.md @@ -2007,7 +2007,7 @@ Default value: 16. ## merge_selecting_sleep_ms {#merge_selecting_sleep_ms} -Sleep time for merge selecting when no part selected. A lower setting triggers selecting tasks in `background_schedule_pool` frequently, which results in large amount of requests to Zookeeper in large-scale clusters. +Sleep time for merge selecting when no part is selected. A lower setting triggers selecting tasks in `background_schedule_pool` frequently, which results in a large number of requests to Zookeeper in large-scale clusters. Possible values: