Commit Graph

147 Commits

Author SHA1 Message Date
Kevin Song
af4e8618cb
Update mergetree.md
correct bullet points structure
2024-06-29 13:26:09 +08:00
Blargian
ce26c4f657 Review changes and replace … with ... 2024-05-23 13:54:45 +02:00
Aleksandr Musorin
d01a95fc9a docs: added kafka_topic directly under kafka tag 2024-04-04 13:56:15 +02:00
Aleksandr Musorin
f9d81bc774 refactore: improve reading several configurations for kafka
Simplify and do some refactoring for kafka client settings.

Allows to set up separate
settings for consumer and producer like:

```
<consumer>
    ...
</consumer>

<producer>
    <kafka_topic>
        <name>topic_name</name>
        ...
    </kafka_topic>
</producer>
```

Moreover, this fixes warnings from kafka client like:
`Configuration property session.timeout.ms is a consumer property and
will be ignored by this producer instance`
2024-03-27 14:53:33 +01:00
Alexey Milovidov
48a397577c Add a style check against DOS and Windows 2023-12-29 13:10:40 +01:00
James Nock
2c24e438aa Add docs for skip index support of hasXXX() funcs 2023-12-15 17:28:45 +00:00
Alexey Milovidov
0b597eadf8 Clarify the usage of prefer_not_to_merge option 2023-12-06 12:11:03 +01:00
Nikolay Degterinsky
de0876ed68
Merge pull request #57234 from evillique/fix-docs-anchors
Fix docs
2023-11-27 01:22:43 +01:00
Nikolay Degterinsky
faa3a43803 Fix docs 2023-11-26 19:21:39 +00:00
slu
4ff41c7e30
fix wrong word order 2023-11-23 17:30:28 +08:00
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