Commit Graph

1402 Commits

Author SHA1 Message Date
FriendLey
47fd6b6650 add docs of soundex function. (#39880) 2023-04-09 17:00:20 +08:00
Alexander Tokmakov
caf00b5968 Merge branch 'master' into sync_replica_lightweight 2023-03-31 14:52:55 +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
Alexander Tokmakov
b5fe1ada0b more options for sync replica 2023-03-28 01:39:36 +02:00
Joey
d78b9ee006 fix md 2023-03-26 22:15:23 +08:00
Joey
2af34bd9db fix img path 2023-03-26 22:10:52 +08:00
Joey
355818e464 fix img path 2023-03-26 22:08:19 +08:00
rfraposa
128753f7ab Update index.md 2023-03-23 16:01:36 -06:00
rfraposa
4d281245fb Update index.md 2023-03-23 15:43:40 -06:00
rfraposa
9571130b26 Update materialize-mysql.md 2023-03-23 15:08:31 -06:00
rfraposa
e27d47581e Link fixes 2023-03-23 14:56:18 -06:00
Rich Raposa
7f2076c56e
Merge branch 'master' into nav-fixes 2023-03-23 14:22:48 -06:00
rfraposa
42725964d4 Remove links from nav categories 2023-03-23 14:20:26 -06:00
Han Fei
c41c2cfb1d make doc more concise 2023-03-23 20:47:29 +01:00
iammagicc
214bcdda47
delete quoat English text,change the translation
As the title says,I delete quoat English text.The Chinese translation has been modified to make it easier for readers to understand.
2023-03-21 22:09:10 +08:00
iammagicc
04bfc1848b
Merge branch 'master' into patch-2 2023-03-21 19:56:04 +08:00
iammagicc
82d71a1044
image errors and adaptive index granularity
Add a description of the relationship between image errors and adaptive index granularity.And create a new node with this description.
2023-03-21 19:53:00 +08:00
iammagicc
08549c0a02
增加最后一个索引条目存储了上图中颗粒1082的主键列的最大值与图片不符的描述
为什么图中显示的数据与结论不符合?因为图中的数据是禁用了自适应索引粒度后得到的,默认情况下索引粒度是自适应的。
https://clickhouse.com/docs/en/optimize/sparse-primary-indexes
We mentioned in the beginning of this guide in the "DDL Statement Details", that we disabled adaptive index granularity (in order to simplify the discussions in this guide, as well as make the diagrams and results reproducible).
For tables with adaptive index granularity (index granularity is adaptive by default) the size of some granules can be less than 8192 rows depending on the row data sizes.
我们在本指南开头的“DDL 语句详细信息”中提到,我们禁用了自适应索引粒度(为了简化本指南中的讨论,并使图表和结果可重现)。
对于具有自适应索引粒度的表(默认情况下索引粒度是自适应的),某些粒度的大小可以小于 8192 行,具体取决于行数据大小。


https://clickhouse.com/docs/en/whats-new/changelog/2019#experimental-features-1
ClickHouse Release 19.6.3.18, 2019-06-13
Experimental Features:实验性特性   
Add setting index_granularity_bytes (adaptive index granularity) for MergeTree* tables family.
为合并树家族的表系列添加设置index_granularity_bytes(自适应索引粒度)。

ClickHouse Release 19.10.1.5, 2019-07-12
Performance Improvement:优化改进
Add the possibility to write the final mark at the end of MergeTree columns. It allows to avoid useless reads for keys that are out of table data range. It is enabled only if adaptive index granularity is in use.
添加在合并树列末尾写入最终标记的可能性。它允许避免对超出表数据范围的键进行无用的读取。仅当使用自适应索引粒度时,才会启用它。
2023-03-21 15:53:45 +08:00
rfraposa
2c9761bca8 Update sparse-primary-indexes.md 2023-03-20 23:09:54 -06:00
iammagicc
d7a3a6dd71
Update sparse-primary-indexes.md
line424:Processed 8.19 thousand rows
line428:ClickHouse客户端的输出显示,没有进行全表扫描,只有8.19万行流到ClickHouse。
修改8.19万行为8.19千行
2023-03-20 20:50:09 +08: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
1631f4fa62 Update delete-old-data.md 2023-03-16 22:07:16 -05: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
rfraposa
9ee7b82e64 Trailing slashes fix 2023-03-16 14:21:32 -05:00
rfraposa
4c842e3dca Link fixes 2023-03-09 21:19:17 -07:00
rfraposa
fa6f3dadba Link fixes 2023-03-07 22:52:43 -07:00
Rich Raposa
273ceb8dd5
Merge branch 'master' into new-nav 2023-03-04 09:04:01 -07:00
robot-clickhouse
be043cd5a5
Merge pull request #47178 from houbaron/patch-2
Update sparse-primary-indexes.md
2023-03-04 11:34:15 +01:00
Han Fei
4a8436bc70
Merge pull request #47177 from houbaron/patch-1
Update skipping-indexes.md
2023-03-04 10:58:58 +01:00
Rich Raposa
18f29837fc
Merge branch 'master' into new-nav 2023-03-03 08:32:01 -07:00
Sergei Trifonov
b24a5b9c15
Merge branch 'master' into fix-zh-docs-markup-note 2023-03-03 11:37:03 +01:00
serxa
b96682ce32 Fix markup in docs 2023-03-03 10:35:07 +00:00
Sergei Trifonov
a1d99c602b
Update docs/zh/operations/backup.md 2023-03-03 10:52:45 +01:00
houbaron
df8d364708
Update backup.md 2023-03-03 14:24:36 +08:00
houbaron
1f7a0c70f0
Update sparse-primary-indexes.md 2023-03-03 12:00:42 +08:00
houbaron
29e396cc30
Update skipping-indexes.md 2023-03-03 11:57:03 +08:00
Rich Raposa
21996c377a
Merge branch 'master' into new-nav 2023-03-02 10:56:49 -07:00
SupunKavinda
088869b654 adds hyvor/clickhouse-php to docs 2023-03-02 01:47:00 +01:00
rfraposa
4735bc6a34 Fix links 2023-02-28 22:47:56 -07:00
zhangnew
df6eaaa278
Docs: view.md fix typo 2023-02-15 17:06:34 +08:00
Antonio Andelic
a58653820e Update docs 2023-02-03 18:19:12 +00:00
Sema Checherinda
d746a3c4ff
Merge pull request #44480 from wineternity/issue_43333_doc
[DOC] Add support for signed arguments in range() #43333
2023-01-16 10:26:49 +01:00
DanRoscigno
806dd1357c switch text to response for query blocks 2023-01-11 10:13:31 -05:00
DanRoscigno
d34a755cfb switch text to response for query blocks 2023-01-11 09:59:23 -05:00
serxa
8d099a4417 make more SQL queries copyable from docs in one click 2023-01-11 13:43:51 +00:00
Dan Roscigno
f791d5439c
Merge pull request #45063 from ClickHouse/remove-original-article
[docs] Remove "Original article" links
2023-01-09 11:32:22 -05: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