Commit Graph

1466 Commits

Author SHA1 Message Date
Dan Roscigno
c856c4a7df
Merge branch 'master' into Docs/ip_addresses 2023-06-21 17:26:27 -04:00
Dmitry Kardymon
792cdb6da5 Add millisecond support to age() / add tests 2023-06-20 08:26:59 +00:00
Dmitry Kardymon
02b5b50e41 Add milli/micro seconds support for date_diff 2023-06-16 12:39:46 +00:00
DanRoscigno
005e7d3b27 Chinese also 2023-06-14 17:40:29 -04:00
Denny Crane
aa35689cb1 fix links in other lang-s 2023-06-04 19:39:30 -03:00
Raúl Marín
dcd5579851 Mention ON CLUSTER options for SYSTEM queries 2023-06-02 16:51:04 +02:00
zy-kkk
90ee85d33a
Errata build osx zh doc (#50054) 2023-05-23 17:53:27 +02:00
Nikolay Degterinsky
d4b89cb643
Merge pull request #49356 from Ziy1-Tan/vcol
Support for `_path` and `_file` virtual columns for table function `url`.
2023-05-22 18:10:32 +02:00
libin
d294ecbc16
Update grant.md
docs: Modifying grant example
2023-05-18 15:50:19 +08:00
Alexey Milovidov
8a6e07f0ea Make projections production-ready 2023-05-10 03:35:13 +02:00
Mikhail f. Shiryaev
e1fa92e078
Add openSUSE and SLES to docs dictionary, sort it 2023-05-07 19:30:55 +02:00
Mikhail f. Shiryaev
b2963eb4be
Add documentation how to install clickhouse on SUSE family 2023-05-07 17:59:46 +02:00
Ivan Takarlikov
8873856ce5 Fix some grammar mistakes in documentation, code and tests 2023-05-04 13:35:18 -03:00
Ziy1-Tan
2c159061ed Support _path and _file virtual columns for table function url. 2023-05-01 21:40:30 +08:00
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
Alexey Milovidov
03ae644ea3 Fix performance test 2023-01-09 01:58:42 +01:00
Alexey Milovidov
484af24d48 Remove the remainings of Testflows (2). 2023-01-07 21:40:13 +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
Robert Schulze
cfb6feffde
What happens if I remove these 139 lines of code? 2023-01-03 18:35:31 +00:00
Alexey Milovidov
47ae8c5c79 Remove more lines 2023-01-02 02:06:11 +01: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
wineternity
1544e412f5 [DOC] Add support for signed arguments in range() #43333 2022-12-21 19:58:01 +08:00
BSWaterB
473a9c80b1
Create uk-price-paid.mdx
Adding missing text in translation
2022-12-10 11:14:39 +08:00
DanRoscigno
9918e39120 please do not use symlinks in docs 2022-12-05 08:29:57 -05:00
Han Fei
8f01eded48
Merge pull request #43787 from mo-avatar/zh_security_change_log
update security-changelog in chinese
2022-11-30 08:58:35 +01:00
mo-avatar
0b3b460301 Update security-changelog in chinese 2022-11-30 09:46:32 +08:00
Han Fei
85163ce888
Merge pull request #43174 from Tiaonmmn/patch-8
Update limit-by.md
2022-11-29 20:55:42 +01:00
Han Fei
a35af55c8f
Update docs/zh/sql-reference/statements/select/limit-by.md 2022-11-29 20:54:23 +01:00
Han Fei
4251426e4b
Update docs/zh/sql-reference/statements/select/limit-by.md 2022-11-29 20:53:41 +01:00
Han Fei
78065e5010
Update docs/zh/sql-reference/statements/select/limit-by.md 2022-11-29 20:52:22 +01:00
bit-ranger
1d16dde6ba
Update sparse-primary-indexes.md to correct typo 2022-11-24 21:00:39 +09:00
bit-ranger
6606bc7ede
Update sparse-primary-indexes.md to correct typo 2022-11-24 17:56:59 +09:00
bit-ranger
c6946d96a1
Update kafka.md 2022-11-23 16:30:53 +09:00
Alexey Milovidov
25780be0c6
Merge pull request #42265 from taofengliu/group_by_all
Support GROUP BY ALL
2022-11-22 20:08:23 +01:00
Kruglov Pavel
406c50277b
Merge pull request #42779 from Avogar/add-format-func-doc
Add documentation for 'format' table function
2022-11-21 15:16:26 +01:00
taofengliu
a529943d9f Merge remote-tracking branch 'upstream/master' into group_by_all 2022-11-19 21:11:23 +08:00
Nikolay Degterinsky
e7e21adf17
Merge pull request #43207 from freedomDR/improve_unhex
unhex support FixedString arguments
2022-11-18 03:09:58 +01:00
stan
e75e71bbcb
Update index.md
correct the error of translation
2022-11-16 22:44:54 +08:00
Alexey Milovidov
1ec21e5890
Merge branch 'master' into group_by_all 2022-11-16 06:14:04 +01:00
Nikolay Degterinsky
81971acf35 Fix docs 2022-11-16 02:40:51 +00:00
Christoph Wurm
2a9ab046dd Unify spelling of DateTime 2022-11-15 11:51:14 +00:00
freedomDR
37c448c6be complete unhex doc 2022-11-15 12:33:14 +08:00
Tiaonmmn
504e7f2a4b
Update limit-by.md
Update chinese translation of limit-by.md
2022-11-11 21:30:09 +08:00
Kruglov Pavel
0270f6003c
Merge branch 'master' into add-format-func-doc 2022-11-11 14:05:34 +01:00
canenoneko
0ed1d983fd
Update distinctive-features.md 2022-11-11 09:53:27 +08:00
taofengliu
4862586417 fix docs 2022-11-01 16:27:34 +08:00
avogar
c7031569b6 Fix typo 2022-10-28 21:58:42 +00:00
avogar
5412911592 Add documentation for 'format' table function 2022-10-28 17:43:28 +00:00
taofengliu
46b24380f2 Merge remote-tracking branch 'upstream/master' into group_by_all 2022-10-22 13:57:31 +08:00
Alexey Milovidov
bc6762d613
Merge pull request #42565 from alexeyerm/other-functions.md-fix
other-functions.md example fix
2022-10-22 04:20:23 +02:00