Commit Graph

4507 Commits

Author SHA1 Message Date
Azat Khuzhin
4f41ebcae3 Add settings (for connections) for MySQL storage engine
Default settings are not very efficient, since they do not even reuse
connections.
And when each query requires connection you can have only ~80 QPS, while
by simply enabling connection reuse (connection_auto_close=false) you
can have ~500 QPS (and by increasing connection_pool_size you can have
better QPS throughput).

So this patch allows to pass through some connection related settings
for the StorageMySQL engine, like:
- connection_pool_size=16
- connection_max_tries=3
- connection_auto_close=true

v2: remove connection_pool_default_size
v3: remove num_tries_on_connection_loss
2021-05-20 22:44:52 +03:00
Alexander Kuzmenkov
e9b69bbd70
Merge pull request #23906 from azat/fix-distributed_group_by_no_merge
distributed_group_by_no_merge fixes
2021-05-19 16:16:08 +03:00
Vitaliy Zakaznikov
03ebd18d01 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into ldap-user-dn-detection 2021-05-18 14:08:28 -04:00
Chao Ma
d85fd73bea Fix official website documents error about grant-drop section 2021-05-18 14:58:45 +08:00
Vladimir
b70846209f
Merge pull request #23878 from otrazhenia/evgsudarikova-DOCSUP-8181 2021-05-17 14:27:52 +03:00
tavplubix
6936274398
Merge pull request #24106 from adevyatova/annadevyatova-DOCSUP-8026-replicated
DOCSUP-8026: Document the settings for customizing timeouts
2021-05-16 23:10:47 +03:00
Anna
e0d04acbd7
Update settings.md 2021-05-16 21:11:42 +03:00
Anna
7071894081
Update settings.md 2021-05-16 21:10:13 +03:00
Anna
c605b199ee
Update docs/en/operations/settings/settings.md
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-05-16 21:06:07 +03:00
Anna
1737be6710
Update merge-tree-settings.md 2021-05-16 21:05:41 +03:00
Anna
b32ac3a6f4
Update docs/en/operations/settings/settings.md
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-05-16 21:04:07 +03:00
Anna
ae84e5a673
Update docs/en/operations/settings/settings.md
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-05-16 21:03:41 +03:00
Anna
3783e0c483
Update docs/en/operations/settings/settings.md
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-05-16 21:03:17 +03:00
Anna
6d49acc7ac
Update docs/en/operations/settings/merge-tree-settings.md
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-05-16 21:03:08 +03:00
Anna
88f6687c9d
Update docs/en/operations/settings/merge-tree-settings.md
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-05-16 21:02:54 +03:00
Maksim Kita
1a8ce039b4
Merge pull request #24160 from fuzhe1989/patch-1
Fix typo in decimal.md
2021-05-16 11:42:31 +03:00
wzl
025d65b143 Fix typo in adding_test_queries.md 2021-05-16 15:40:44 +08:00
Fu Zhe
ee52c2d371
Fix typo in decimal.md 2021-05-16 13:52:32 +08:00
Azat Khuzhin
a44ddd2064 Update distributed_group_by_no_merge description 2021-05-15 15:03:13 +03:00
Maksim Kita
520d992df2
Merge pull request #23651 from adevyatova/annadevyatova-DOCSUP-8209-dictGetOrNull
DOCSUP-8209: Document the dictGetOrNull function
2021-05-14 23:55:15 +03:00
Kruglov Pavel
c8427442c3
Merge pull request #24005 from sevirov/sevirov-DOCSUP-8940-edit_and_translate_to_russian_deltasumtimestamp
DOCSUP-8940: Edit and translate to Russian (deltaSumTimestamp)
2021-05-14 23:14:31 +03:00
alesapin
a2b0fa6ed4
Merge pull request #23626 from olgarev/revolg-DOCSUP-8776-backslash_option
DOCSUP-8776: Docs for clickhouse-format
2021-05-14 22:06:35 +03:00
alesapin
4fa9649fa0
Update clickhouse-format.md 2021-05-14 19:22:24 +03:00
Vladimir
e6b957be6c
Merge pull request #24101 from otrazhenia/evgsudarikova-DOCSUP-9288 2021-05-14 15:05:14 +03:00
Vladimir
81288e4b50
Apply suggestions from code review 2021-05-14 14:07:11 +03:00
Ilya Yatsishin
e345b8b868
Merge pull request #24077 from abel-cheng/feature/splitByRegexp
add function splitByRegexp
2021-05-14 10:43:08 +03:00
Evgenia Sudarikova
765bc28f61
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-05-14 09:31:21 +03:00
Evgenia Sudarikova
e3b9fde94d
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-05-14 09:31:06 +03:00
Evgenia Sudarikova
1b7d2db4c6
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-05-14 09:30:59 +03:00
Evgenia Sudarikova
1a049c396d
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-05-14 09:30:51 +03:00
Vitaly Baranov
284171517f
Merge pull request #23940 from sevirov/sevirov-DOCSUP-7668-update_the_sql_statement_create_alter_user
DOCSUP-7668: Update the SQL-statement CREATE/ALTER USER
2021-05-14 08:37:54 +03:00
Dmitriy
2c9530484d Update user.md
Сделал ссылку на GRANT OPTION.
2021-05-14 00:46:57 +03:00
Dmitriy
9b9d692782 Update deltasum.md
Убрал лишний отступ.
2021-05-13 23:27:33 +03:00
sevirov
fbca7fdfa8
Update docs/en/sql-reference/aggregate-functions/reference/deltasum.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-05-13 23:11:28 +03:00
sevirov
fc0a36f404
Update docs/en/sql-reference/aggregate-functions/reference/deltasum.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-05-13 23:11:16 +03:00
Dmitriy
7e235f9836 corrections according to the comments
Исправил согласно комментариям в PR.
2021-05-13 23:05:11 +03:00
adevyatova
9cd33b5837 add ru docs 2021-05-13 19:32:28 +00:00
adevyatova
7a0ec69f37 add example 2021-05-13 19:24:41 +00:00
Anna
5555fcd7e7
Merge branch 'master' into annadevyatova-DOCSUP-8209-dictGetOrNull 2021-05-13 21:19:28 +03:00
adevyatova
6e3a1d4e99 update 2021-05-13 18:18:26 +00:00
Anna
e92e66c01e
Merge branch 'master' into annadevyatova-DOCSUP-8026-replicated 2021-05-13 20:49:19 +03:00
adevyatova
6100245f75 update 2021-05-13 17:45:26 +00:00
Evgeniia Sudarikova
00d963d40f minor changes 2021-05-13 20:26:03 +03:00
Evgeniia Sudarikova
0b66aa0e85 edited EN and RU 2021-05-13 20:05:58 +03:00
Evgeniia Sudarikova
dc6eb48197 edited after review 2021-05-13 18:05:48 +03:00
Maksim Kita
e0b3b7d661
Merge pull request #23847 from olgarev/revolg-DOCSUP-8778-cache_dictionaries_3
DOCSUP-8778: cache dictionaries (3)
2021-05-13 17:15:41 +03:00
Maksim Kita
cd9561e34b
Update external-dicts-dict-lifetime.md 2021-05-13 17:14:55 +03:00
Vladimir
7c77dd1e21
Minor changes in splitByRegexp 2021-05-13 12:21:00 +03:00
abel-wang
51c1d7c7ba split into characters when split by '' & add docs 2021-05-13 11:15:38 +08:00
Dmitriy
6616b670e9 Update deltaSum and deltaSumTimestamp functions
Внес небольшие правки.
2021-05-12 22:52:52 +03:00