Commit Graph

137 Commits

Author SHA1 Message Date
Azat Khuzhin
c25d6cd624
Rename directory monitor concept into background INSERT (#55978)
* Limit log frequence for "Skipping send data over distributed table" message

After SYSTEM STOP DISTRIBUTED SENDS it will constantly print this
message.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Rename directory monitor concept into async INSERT

Rename the following query settings (with preserving backward
compatiblity, by keeping old name as an alias):
- distributed_directory_monitor_sleep_time_ms -> distributed_async_insert_sleep_time_ms
- distributed_directory_monitor_max_sleep_time_ms -> distributed_async_insert_max_sleep_time_ms
- distributed_directory_monitor_batch -> distributed_async_insert_batch_inserts
- distributed_directory_monitor_split_batch_on_failure -> distributed_async_insert_split_batch_on_failure

Rename the following table settings (with preserving backward
compatiblity, by keeping old name as an alias):
- monitor_batch_inserts -> async_insert_batch
- monitor_split_batch_on_failure -> async_insert_split_batch_on_failure
- directory_monitor_sleep_time_ms -> async_insert_sleep_time_ms
- directory_monitor_max_sleep_time_ms -> async_insert_max_sleep_time_ms

And also update all the references:

    $ gg -e directory_monitor_ -e monitor_ tests docs | cut -d: -f1 | sort -u | xargs sed -e 's/distributed_directory_monitor_sleep_time_ms/distributed_async_insert_sleep_time_ms/g' -e 's/distributed_directory_monitor_max_sleep_time_ms/distributed_async_insert_max_sleep_time_ms/g' -e 's/distributed_directory_monitor_batch_inserts/distributed_async_insert_batch/g' -e 's/distributed_directory_monitor_split_batch_on_failure/distributed_async_insert_split_batch_on_failure/g' -e 's/monitor_batch_inserts/async_insert_batch/g' -e 's/monitor_split_batch_on_failure/async_insert_split_batch_on_failure/g' -e 's/monitor_sleep_time_ms/async_insert_sleep_time_ms/g' -e 's/monitor_max_sleep_time_ms/async_insert_max_sleep_time_ms/g' -i

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Rename async_insert for Distributed into background_insert

This will avoid amigibuity between general async INSERT's and INSERT
into Distributed, which are indeed background, so new term express it
even better.

Mostly done with:

    $ git di HEAD^ --name-only | xargs sed -i -e 's/distributed_async_insert/distributed_background_insert/g' -e 's/async_insert_batch/background_insert_batch/g' -e 's/async_insert_split_batch_on_failure/background_insert_split_batch_on_failure/g' -e 's/async_insert_sleep_time_ms/background_insert_sleep_time_ms/g' -e 's/async_insert_max_sleep_time_ms/background_insert_max_sleep_time_ms/g'

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Mark 02417_opentelemetry_insert_on_distributed_table as long

CI: https://s3.amazonaws.com/clickhouse-test-reports/55978/7a6abb03a0b507e29e999cb7e04f246a119c6f28/stateless_tests_flaky_check__asan_.html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

---------

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-11-01 15:09:39 +01:00
Alexey Milovidov
25a7f86da7
Update hive.md 2023-10-08 00:51:19 +03:00
Denny Crane
3e80f66d38 update use_local_cache_for_remote_storage settings name 2023-10-03 21:09:35 -03:00
kssenii
beb9a75a68 A few more 2023-09-11 12:40:25 +02:00
robot-clickhouse
9cafdbd972
Merge pull request #54309 from evillique/better-docs
Make docs better
2023-09-05 15:58:59 +02:00
Nikolay Degterinsky
2db239d6ad Make docs better 2023-09-05 12:43:53 +00:00
Justin de Guzman
09b673c551
Hanfei suggestion 6 - SMT translation
Co-authored-by: Han Fei <hanfei19910905@gmail.com>
2023-08-26 17:52:50 -07:00
Justin de Guzman
7ad58881f4
Hanfei suggestion 5 - SMT translation
Co-authored-by: Han Fei <hanfei19910905@gmail.com>
2023-08-26 17:52:36 -07:00
Justin de Guzman
c646b71908
Hanfei suggestion 4 - SMT translation
Co-authored-by: Han Fei <hanfei19910905@gmail.com>
2023-08-26 17:52:15 -07:00
Justin de Guzman
449ca9032e
Hanfei suggestion 3 - SMT translation
Co-authored-by: Han Fei <hanfei19910905@gmail.com>
2023-08-26 17:51:59 -07:00
Justin de Guzman
c09f966a96
Hanfei suggestion 2 - SMT translation
Co-authored-by: Han Fei <hanfei19910905@gmail.com>
2023-08-26 17:51:47 -07:00
Justin de Guzman
2c07859529
Hanfei suggestion 1 - SMT translation
Co-authored-by: Han Fei <hanfei19910905@gmail.com>
2023-08-26 17:51:31 -07:00
Justin de Guzman
0f490b6a91
Additional translations for SMT 2023-08-21 08:51:38 -07:00
justindeguzman
5aac627137 Add translated Chinese language docs for SharedMergeTree 2023-08-20 23:22:22 -07:00
Elena Torró
f423b440d1 Add optional parameters to Engine definition 2023-08-07 09:55:16 +02:00
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
rfraposa
ac5ed141d8 New nav - reverting the revert 2023-03-17 21:45:43 -05:00
Alexander Tokmakov
ec44c8293a
Revert "New navigation" 2023-03-17 21:21:11 +03:00
rfraposa
05786fe897 Trailing slashes 2023-03-16 21:31:11 -05:00
rfraposa
60fb9973d7 trailing slash fixes 2023-03-16 16:43:01 -05:00
serxa
b96682ce32 Fix markup in docs 2023-03-03 10:35:07 +00:00
serxa
8d099a4417 make more SQL queries copyable from docs in one click 2023-01-11 13:43:51 +00:00
Ivan Blinkov
61c2f23713 Remove leftover empty lines at the end of markdown files 2023-01-09 15:15:18 +01:00
Ivan Blinkov
b7e082d033 Remove "Original article links" 2023-01-09 15:13:36 +01:00
Dan Roscigno
20a35efc42
Merge pull request #44665 from burmecia/fix-ttl-doc
fix table ttl doc example
2023-01-04 15:53:19 -05:00
stan
01a1da9c43
Merge branch 'master' into patch-1 2022-12-30 07:29:46 +08:00
Bo Lu
5d1886994f fix table ttl doc example 2022-12-28 15:45:05 +11:00
bit-ranger
c6946d96a1
Update kafka.md 2022-11-23 16:30:53 +09:00
stan
e75e71bbcb
Update index.md
correct the error of translation
2022-11-16 22:44:54 +08:00
DanRoscigno
d37029dd82 updates for filename changes 2022-08-29 15:20:28 -04:00
DanRoscigno
687ac1805a updates for filename changes 2022-08-29 13:59:51 -04:00
DanRoscigno
c4b8137d31 replace symlinks 2022-08-29 12:19:50 -04:00
DanRoscigno
7f92006428 add slugs to all docs 2022-08-26 15:07:59 -04:00
Alexey Milovidov
6d14d8d366
Merge pull request #37510 from WujieRen/patch-1
Added details of partition by expression to the Chinese page
2022-07-30 05:24:32 +03:00
Laurie Li
81becebfe3 Add "See Also"
Signed-off-by: Laurie Li <laurieliyang@outlook.com>
2022-06-23 09:29:46 +08:00
Laurie Li
d553b30f80 Update replication.md of zh docs
docs/zh/engines/table-engines/mergetree-family/replication.md

Signed-off-by: Laurie Li <laurieliyang@outlook.com>
2022-06-22 23:28:25 +08:00
renwujie
b91ae916ba
partition by 语句解释补充
英文官网不建议手动指定 partition by 字段对表进行分区,中文官网提都没提。
2022-05-25 11:49:37 +08:00
Alexey Milovidov
4c41a61f41
Merge pull request #35169 from guomaolin/patch-1
Update mergetree.md
2022-04-25 01:28:47 +03:00
Sergey Tulentsev
301b7cd876 remove whitespace change 2022-04-21 13:42:55 +01:00
Sergey Tulentsev
f3195e10d0 use html entities for < / > in markdown tables 2022-04-21 13:40:25 +01:00
rfraposa
d9e6f780db Fixed broken links 2022-04-10 23:01:34 -06:00
rfraposa
4feb622c9f Added /zh docs 2022-04-10 17:08:18 -06:00
pdai
065bc13aad
fix typo 2022-03-28 20:58:18 +08:00
taiyang-li
6a8bb34b41 update doc of hive 2022-03-24 17:17:25 +08:00
Ivan Blinkov
d77da1f98f
[docs] update distributed.md (#35220)
* Update distributed.md

* Update distributed.md

* Update distributed.md

* Update distributed.md
2022-03-11 23:49:24 +03:00
guomaolin
3cb65e174c
Update mergetree.md
其实我觉得这个翻译并不准确,我的翻译是这样的:“在两次数据合并的间隙中,如果有select查询,则可能会得到过期的数据,那可以在执行Select使用OPTIMIZE 强制触发一次合并来避免这种情况”,主要区别是原翻译把 between merges翻译成合并过程中,我这里翻译是在两次合并之间的间隙。理由如下:在合并过程中,虽然也会导致后面查询的数据不一致性,但是感觉这个因果关系有但是并不那么自然强烈,我觉得它更向表达的是在上次合并结束之后,下一次合并到来之前的这个时间段过期的数据,在这个时间段执行Select查询就一定会查到这些数据,如果要避免这种情况,就是立刻出发一次合并,不要等下一次系统自发的合并,这就是between merges 的意思。个人理解,如有错误,望指正。
2022-03-10 16:54:04 +08:00
cnmade
4d77cffdda sync translate to zh: embedded-rocksdb 2022-03-07 10:51:22 +08:00
heleihelei
ab47ea7fa4
typo
typo
2022-03-03 15:18:35 +08:00
Maksim Kita
454d907320
Merge pull request #34746 from cnmade/PR202202190800
Translate zh/engines/table-engines/integrations/sqlite
2022-02-21 11:53:19 +01:00
Xudong Zhang
9c4cc70dae update document: add _timestamp_ms of kafka 2022-02-19 23:49:37 +08:00