Commit Graph

411 Commits

Author SHA1 Message Date
Blargian
ce26c4f657 Review changes and replace … with ... 2024-05-23 13:54:45 +02:00
Robert Schulze
2a3b5bd74d
Merge pull request #58956 from AVMusorin/kafka-settings
Separate consumer/producer settings for Kafka
2024-04-15 15:11:19 +00:00
Raúl Marín
b90eb1962f Remove mentions of clean_deleted_rows from the documentation 2024-04-11 19:56:30 +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
zvonand
622f3ebbe1 update behavior to be more intuitive 2024-02-20 10:19:52 +01:00
zvonand
e0d8a77792 fix typos and docs 2024-02-20 10:19:51 +01:00
zvonand
811027aa00 sort -> stable_sort 2024-02-20 10:19:51 +01:00
zvonand
1701183ced add volume_priority description in docs 2024-02-20 10:19:51 +01:00
Nikolai Fedorovskikh
a98af159b5 [Docs] fix some typos and missing commas 2024-02-13 02:10:41 +01:00
Alexander Tokmakov
bdada351c8 Revert "Merge pull request #58274 from ClickHouse/revert-58267"
This reverts commit 583b9637c2, reversing
changes made to 224e937620.
2023-12-28 14:07:59 +01:00
Alexey Milovidov
c7efd2afea Revert #58267 2023-12-28 04:09:33 +01:00
Alexander Tokmakov
01d042c490 Revert "Merge pull request #57932 from ClickHouse/remove-shit-cleanup"
This reverts commit 2d58dc512c, reversing
changes made to 41873dc4a3.
2023-12-27 13:46:06 +01:00
Robert Schulze
7f675ddf80
Merge pull request #57878 from Jpnock/master
Apply full-text skipping index when using `hasAny()`
2023-12-17 11:06:29 +01:00
Alexey Milovidov
ee502ef6b9 Remove trash (OPTIMIZE CLEANUP) 2023-12-15 22:41:58 +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
faa3a43803 Fix docs 2023-11-26 19:21:39 +00: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
grantovsky
52480fe092
Update replacingmergetree.md remove simultaneously word
correct: remove simultaneously word of using FINAL CLEANUP and  clean_deleted_rows
2023-10-13 15:36:34 +03:00
grantovsky
8b7e6adc38
Update replacingmergetree.md cleanup+clean_deleted_rows warning
Добавил формулировку, что CLEANUP + clean_deleted_rows=always - не следует использовать
2023-10-13 15:03:36 +03:00
grantovsky
4bf3c4156e
Update Russian version replacingmergetree.md. dded is_deleted parameter description
Added is_deleted parameter description for russian documentaion version
2023-10-13 12:07:25 +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
Elena Torró
f423b440d1 Add optional parameters to Engine definition 2023-08-07 09:55:16 +02:00
Alexey Milovidov
8a6e07f0ea Make projections production-ready 2023-05-10 03:35:13 +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
Dmitry
330aa8c353
Typo fixed at the page /docs/ru/engines/table-engines/mergetree-family/mergetree.md 2023-03-07 14:49:21 +04:00
Dmitry
dfb3feb686
Typo at the page /docs/ru/engines/table-engines/mergetree-family/collapsingmergetree.md 2023-03-03 16:48:09 +04:00
Jus
7bedfee7ea
add info for Kafka engine
add info for Kafka engine
2023-02-16 20:53:40 +04: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
Bo Lu
5d1886994f fix table ttl doc example 2022-12-28 15:45:05 +11:00
Nikolay Degterinsky
0245df6a82 Fix docs 2022-10-27 10:41:45 +00:00
mosinnik
44d3eccf4c
Update external-data.md
fix lost double hyphens
2022-09-27 19:13:40 +03:00
DanRoscigno
3c36660488 replace symlinks 2022-08-28 17:27:24 -04:00
DanRoscigno
726d3c0739 add slugs to all docs 2022-08-26 13:37:11 -04:00
Denny Crane
2929632058
Update docs/ru/engines/table-engines/mergetree-family/replacingmergetree.md
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2022-08-18 23:58:54 -03:00
Denny Crane
8bf8dc628c
Update replacingmergetree.md 2022-08-18 16:34:14 -03:00
Rich Raposa
9f85d85e08
The admonitions were missing section endings (#40073) 2022-08-10 21:08:40 +02:00
Vladimir Goncharov
189de392fd
Update mergetree.md
Functions hasAny and hasAll also can use a Bloom filter.
2022-07-13 19:20:32 +03:00
Ilya Yatsishin
109371f08f
Merge pull request #37295 from IhostVlad/patch-1
Update materializedview.md
2022-07-11 16:01:39 +02:00
Denny Crane
47f98cabcf
Update mysql.md 2022-06-29 17:31:27 -03:00
Denny Crane
8607683937
Update mysql.md 2022-06-29 16:49:20 -03:00
Yakov Olkhovskiy
d5f65ece9b
Merge pull request #38105 from arenadata/ADQM-419
Add kerberosInit function as a replacement for kinit executable calls in Kafka and HDFS
2022-06-27 14:19:24 -04:00