Commit Graph

5759 Commits

Author SHA1 Message Date
Ivan Blinkov
c929255ec0
[docs] incorporate changes requested by Chaim Haas (#28588) 2021-09-03 22:08:56 +03:00
mergify[bot]
6ccf905133
Merge branch 'master' into try-llvm-12 2021-09-03 16:13:13 +00:00
Kseniia Sumarokova
8c5acc371a
Merge pull request #28365 from kssenii/rabbitmq-ssl
Allow ssl connection for rabbitmq
2021-09-03 16:53:28 +03:00
Maksim Kita
3445ae3f2c
Merge pull request #28556 from benbiti/fix-keep_alive_timeout-default-value_docs
fix keep_alive_timeout default value (10s) in docs
2021-09-03 13:12:43 +03:00
Pavel Kruglov
1d9ad322ae Fix format names in docs 2021-09-03 12:43:56 +03:00
benbiti
fa5db1be76 fix keep_alive_timeout default value in docs 2021-09-03 17:32:31 +08:00
benbiti
f8e367757d fix max_server_memory_usage_to_ram_ratio default value(0.9) in docs 2021-09-03 14:24:24 +08:00
Azat Khuzhin
ed70ed6f71 Introduce connection_no_wait setting for MySQL engine.
This will allow to avoid superfluous sleep during query execution, since
this not only not desired behavoiur, but also may hang the server, since
if you will execute enough queries that will use MySQL database but will
not allow enough connections (or your MySQL server is too slow) then you
may run out of threads in the global thread pool.

Also note that right now it is possible to get deadlock when the mysql
pool is full, consider the following scenario:

- you have m1 and m2 mysql tables
- you have q1 and q2 queries, bot queries join m1 and m2
- q1 allocated connection for m1 but cannot allocate connection for m2
- q2 allocated connection for m2 but cannot allocate connection for m1
- but to resolve the lock one should give up on the locking while it is not possible right now...

And then you got no free threads and this:

    # grep -h ^202 /proc/$(pgrep clickhouse-serv)/task/*/syscall  | cut -d' ' -f2 | sort | uniq -c | sort -nr | head
       1554 0x7ffb60b92fe8 # mutex in mysqlxx::PoolWithFailover::get
       1375 0x7ffb9f1c4748 # mutex in ::PoolEntryHelper::~PoolEntryHelper from DB::MultiplexedConnections::invalidateReplica
       1160 0x7ffb612918b8 # mutex in mysqlxx::PoolWithFailover::get
         42 0x7ffb9f057984 # mutex in ThreadPoolImpl<std::__1::thread>::worker

    *NOTE: 202 is a `futex` with WAIT*

(Went with `syscall` because debugging 10k+ threads is not easy, and
eventually it may TRAP)
2021-09-02 22:23:37 +03:00
Alexey
d9aee1bf7b Merge branch 'alexey-sm-DOCSUP-13375-document-CREATE-DROP-FUNCTION' of https://github.com/lehasm/ClickHouse into alexey-sm-DOCSUP-13375-document-CREATE-DROP-FUNCTION 2021-09-01 18:37:42 +00:00
Alexey
299fc2604a Example fixed 2021-09-01 18:36:35 +00:00
romanzhukov
f0414ed7f9 Fix err arg. 2021-09-01 21:05:22 +03:00
alexey-milovidov
ff0b332c24
Update custom-partitioning-key.md 2021-09-01 20:53:06 +03:00
alexey-milovidov
4699386470
Update mergetree.md 2021-09-01 20:52:05 +03:00
Roman Zhukov
248a97201c Fix PR comments. 2021-09-01 14:26:36 +00:00
zhongyuankai
dfdf262f8b Merge branch 'master' into DOCSUP-13927-document-system_views 2021-08-31 21:35:01 +08:00
zhongyuankai
bc32baffac fix doc system views 2021-08-31 21:33:21 +08:00
zhongyuankai
b946815f35 fix doc system views 2021-08-31 21:29:40 +08:00
zhongyuankai
fd9d766a44 fix doc system views 2021-08-31 21:28:38 +08:00
zhongyuankai
1a088e36c6 fix doc system views 2021-08-31 21:25:46 +08:00
romanzhukov
981fdadaa6 Fix links errors. 2021-08-31 14:24:56 +03:00
zhongyuankai
d4d72d9346 add doc system views 2021-08-31 17:42:04 +08:00
Maksim Kita
bcb826df4d
Merge pull request #28162 from olgarev/revolg-DOCSUP-13597-Right_and_full_join_for_MergeJoin
DOCSUP-13597: RIGHT and FULL join for MergeJoin
2021-08-31 12:07:16 +03:00
Maksim Kita
741223ce52
Merge pull request #28115 from qianmoQ/translation-docs-zh
Translate documentation for database engines
2021-08-31 12:02:01 +03:00
Roman Zhukov
b7d647d74b Fix PR comments. 2021-08-31 06:45:22 +00:00
Roman Bug
ff5f5e9f77
Update docs/en/sql-reference/functions/encoding-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-31 09:34:32 +03:00
Roman Bug
43529c4e09
Update docs/en/sql-reference/functions/encoding-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-31 09:34:25 +03:00
Roman Bug
36e5462142
Update docs/en/sql-reference/functions/encoding-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-31 09:34:18 +03:00
Roman Bug
5bbeb0e935
Update docs/en/sql-reference/functions/encoding-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-31 09:34:11 +03:00
qianmoQ
13a96e7819 Add dbm to gui 2021-08-31 09:59:07 +08:00
kssenii
335b6f12fd Fix 2021-08-30 20:59:03 +03:00
Roman Zhukov
2ce6d2760f Update bin/unbin 2021-08-30 14:10:13 +00:00
Roman Zhukov
61091395cd Update bin/unbin 2021-08-30 13:35:27 +00:00
Roman Zhukov
6decf659c2 Merge branch 'romanzhukov-DOCSUP-12543-bin-unbin-functions' of https://github.com/ka1bi4/ClickHouse into romanzhukov-DOCSUP-12543-bin-unbin-functions 2021-08-30 09:16:01 +00:00
Roman Zhukov
ff0f049af2 revert tests.md 2021-08-30 09:15:31 +00:00
Maksim Kita
243b845dc0
Merge pull request #28314 from olgarev/revolg-DOCSUP-13934-kill_query_for_mysql
DOCSUP-13934: Support MySQL KILL QUERY
2021-08-29 23:20:30 +03:00
olgarev
60d85d36bd
Update docs/en/interfaces/mysql.md 2021-08-29 21:24:52 +03:00
olgarev
d78dd54e16 Initial 2021-08-29 18:17:41 +00:00
Dmitriy
c9db269569 Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-13590-document_the_getserverport_function 2021-08-29 19:00:29 +03:00
Kseniia Sumarokova
7784f4ebb0
Merge pull request #28268 from infinivision/hdfs_namenode_ha
configable LIBHDFS3_CONF, refers to #8159
2021-08-29 12:25:42 +03:00
Maksim Kita
d77f243651
Merge pull request #28271 from kozlek/patch-1
doc: Warn about MV using column names during insertion
2021-08-28 23:20:55 +03:00
Maksim Kita
c1538586aa
Merge pull request #27964 from sevirov/sevirov-DOCSUP-13329-add_complexkeyrangehashed_dictionary
DOCSUP-13329: Add ComplexKeyRangeHashed dictionary
2021-08-28 23:14:29 +03:00
tavplubix
7fce331475
Merge pull request #28103 from sevirov/sevirov-DOCSUP-13434-document_the_serveruuid_function
DOCSUP-13434: Document the serverUUID() function
2021-08-28 17:17:01 +03:00
Dmitriy
554e51b13a
Update docs/en/sql-reference/functions/uuid-functions.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-08-28 11:54:41 +03:00
Zhichang Yu
ef1994f420 set env LIBHDFS3_CONF, refers to ClickHouse#8159 2021-08-28 09:16:48 +08:00
Thomas Berdy
e5511944bc
doc: Warn about MV using column names during insertion 2021-08-27 18:40:35 +02:00
Dmitriy
7021d9bbe4
Update docs/en/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-layout.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-08-26 19:47:21 +03:00
Ilya Yatsishin
7f7ecb0c60
Merge branch 'master' into try-llvm-12 2021-08-26 18:58:49 +03:00
Nikita Mikhaylov
e42b029155
Merge pull request #28191 from eltociear/patch-2
Fix typo in parametric-functions.md
2021-08-26 17:52:31 +03:00
Roman Bug
95dce33551
Merge branch 'ClickHouse:master' into romanzhukov-DOCSUP-12543-bin-unbin-functions 2021-08-26 17:26:56 +03:00
Kseniia Sumarokova
31afd7d09c
Merge pull request #28081 from kssenii/pg-conflict
Support `on conflict` for postgres engine
2021-08-26 16:30:30 +03:00
Ikko Ashimine
abeb1d03f1
Fix typo in parametric-functions.md
occured -> occurred
2021-08-26 21:42:18 +09:00
Roman Zhukov
3a0baf0c81 Update Unit tests RU. 2021-08-26 12:19:47 +00:00
Alexey Boykov
d455cc0069
Merge pull request #27950 from sevirov/sevirov-DOCSUP-12065-document_queryid_and_initialqueryid_functions
DOCSUP-12065: Document queryID and initialQueryID functions
2021-08-26 14:35:08 +03:00
Roman Zhukov
35fd0b80f4 Update bin/unbin fucntions 2021-08-26 11:16:05 +00:00
lehasm
b8296416f7
DOCSUP-13276: document print_query_id (#28106)
* EN description

* Example description updated

* Update docs/en/interfaces/cli.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/en/interfaces/cli.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Translated to ru

* Minor fixes

* Some Ru grammar and formatting fixed.

* Update docs/ru/interfaces/cli.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/interfaces/cli.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/interfaces/cli.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/interfaces/cli.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/interfaces/cli.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/interfaces/cli.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/interfaces/cli.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/interfaces/cli.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/interfaces/cli.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-26 13:09:02 +03:00
Nikolai Kochetov
11d79ec24f
Merge pull request #27725 from olgarev/revolg-DOCSUP-12894-projections_translated
DOCSUP-12894: Projections settings
2021-08-26 11:26:58 +03:00
Dmitriy
b62fb1e8cf
Update docs/en/sql-reference/functions/other-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-25 22:30:14 +03:00
Dmitriy
80b6097dae Fix typo
Убрал лишние отступы.
2021-08-25 20:33:00 +03:00
Dmitriy
7295bf95b3
Update docs/en/sql-reference/functions/other-functions.md
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-08-25 20:16:16 +03:00
Dmitriy
e8e60e1a60
Update docs/en/sql-reference/functions/other-functions.md
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-08-25 20:15:57 +03:00
Dmitriy
f1be822a1a
Update docs/en/sql-reference/functions/other-functions.md
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-08-25 20:14:04 +03:00
Artur Filatenkov
31c7e22bd6 correct style 2021-08-25 18:29:25 +03:00
olgarev
89a4ca27ae
Apply suggestions from code review
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-08-25 15:15:39 +03:00
Filatenkov Artur
884b51116d
Merge branch 'master' into master 2021-08-25 14:34:39 +03:00
gyuton
efeefcb437
DOCSUP-11587: Edited and translated to Russian (#27066)
* First Draft.

* Apply suggestions from code review

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Edited conrib.md

* Edited configuration-files.md

* Minor fixes

* Apply suggestions from code review

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/development/contrib.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Small changes

Co-authored-by: George <gyuton@yandex-team.ru>
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-25 13:23:18 +03:00
Roman Bug
3ce50c3b4a
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-25 10:48:23 +03:00
Roman Bug
4ddf7a2841
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-25 10:48:16 +03:00
Roman Bug
af874dd7e0
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-25 10:47:26 +03:00
Roman Bug
62724a1566
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-25 10:47:20 +03:00
Roman Bug
82129dc2fe
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-25 10:47:14 +03:00
Roman Bug
e3e9ac5c9c
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-25 10:44:43 +03:00
Roman Bug
c5b9bbb7e1
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-25 10:44:32 +03:00
Roman Bug
e5b600eadc
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-25 10:44:08 +03:00
Roman Bug
a140891ac0
Update docs/en/operations/server-configuration-parameters/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-25 10:44:01 +03:00
Roman Bug
6caced9de2
Update docs/en/operations/server-configuration-parameters/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-25 10:43:39 +03:00
Kseniia Sumarokova
994d3c04fe
Merge pull request #27919 from adevyatova/annadevyatova-DOCSUP-11585-datetime32
DOCSUP-11585: Document Date32 data type
2021-08-25 09:25:42 +03:00
alexey-milovidov
b6d9fe6f88
Fix idiotic markup 2021-08-25 03:36:42 +03:00
olgarev
dfdeaa0be9 Initial 2021-08-24 22:40:50 +00:00
Dmitriy
3d6d61f7a5 Document the serverUUID() function
Задокументировал функцию (черновик).
2021-08-24 23:04:19 +03:00
Dmitriy
7d9180cd8c Update other-functions.md
Поправил предупреждение.
2021-08-24 20:08:39 +03:00
Dmitriy
dd5e303e29
Update docs/en/sql-reference/functions/other-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-24 19:52:28 +03:00
Dmitriy
41bf324f9c
Update docs/en/sql-reference/functions/other-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-24 19:51:56 +03:00
Dmitriy
77483f14c1
Update docs/en/sql-reference/functions/other-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-24 19:51:29 +03:00
Dmitriy
c491d1a587
Update docs/en/sql-reference/functions/other-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-24 19:51:20 +03:00
Roman Zhukov
30f404f4b6 Update setting ZooKeeper 2021-08-24 16:43:56 +00:00
kssenii
0ec716292c Postgres ON CONFLICT 2021-08-24 12:37:32 +00:00
Anna
86fa28a897
Update docs/en/sql-reference/data-types/date32.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-24 14:32:05 +03:00
Anna
49f2706638
Update docs/en/sql-reference/data-types/date.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-24 14:31:45 +03:00
Anna
06b81a3cff
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-24 14:31:30 +03:00
Anna
81ffe6fb08
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-24 14:31:05 +03:00
Anna
00d49ffe8b
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-24 14:29:57 +03:00
Anna
0ee679c02d
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-24 14:29:48 +03:00
Anna
1dbea16210
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-24 14:29:29 +03:00
Anna
86874ace78
Update docs/en/sql-reference/data-types/date32.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-24 14:28:19 +03:00
Anna
8ea3f0579a
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-24 14:28:10 +03:00
Anna
faaafd838a
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-24 14:28:03 +03:00
Anna
7f6e6c97cb
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-24 14:27:54 +03:00
Anna
8ab7029cc5
Update docs/en/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-24 14:27:41 +03:00
Anna
985e33e15b
Update docs/en/sql-reference/data-types/date32.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-24 14:27:30 +03:00
Anna
75010c156c
Update docs/en/sql-reference/data-types/date.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-24 14:24:10 +03:00