Commit Graph

123 Commits

Author SHA1 Message Date
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
cnmade
bb49867955 Translate zh/engines/table-engines/integrations/sqlite: remove bak file 2022-02-19 15:21:08 +08:00
cnmade
da5cb8950d Translate zh/engines/table-engines/integrations/sqlite: translate to zh 2022-02-19 15:20:34 +08:00
cnmade
8f6a3f4d7f Translate zh/engines/table-engines/integrations/sqlite: reimport files 2022-02-19 15:14:22 +08:00
cnmade
a7dda35f7f Translate zh/engines/table-engines/integrations/sqlite: rename old file 2022-02-19 15:11:43 +08:00
cnmade
5199c54e41 sync translate to zh: engines/table-engines/special/memory: sync index toc and source article link 2022-02-18 10:21:57 +08:00
Nikolay Degterinsky
78d2ef6b49
Merge pull request #34543 from cnmade/PR202202120505
sync translate to zh: update mergetree.md
2022-02-16 15:34:19 +03:00
cnmade
9cafd9a398 Translate zh/sql-reference/statements/alter/view: update translate 2022-02-16 18:55:58 +08:00
cnmade
0cf4610919 Translate zh/engines/table-engines/special/distributed: sync translate 2022-02-14 14:42:35 +08:00
tesw yew isal
89c740e395 sync translate to zh: update mergetree.md 2022-02-12 05:08:35 +08:00
tesw yew isal
fe4b73ec4b Translate zh/engines/database-engines/sqlite: true is not need 2022-02-07 21:00:46 +08:00
cnmade
c3d7f021e2
Update docs/zh/engines/table-engines/integrations/hive.md
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2022-02-07 20:55:31 +08:00
cnmade
80ed9d7627 Translate zh/engines/table-engines/hive: update index and sync hive translate to zh 2022-02-07 14:45:16 +08:00
msirm
474668e32c Fix for zh 2022-01-10 17:56:59 +08:00
Ivan Blinkov
6a293d73f9 make_links.sh 2021-09-20 09:51:41 +03:00