Commit Graph

5793 Commits

Author SHA1 Message Date
Nikita Mikhaylov
107710e618 save 2021-09-08 15:06:15 +00:00
gyuton
5588853893
Apply suggestions from code review
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-09-08 13:25:06 +03:00
alesapin
3b9dae8718
Merge pull request #28616 from ClickHouse/qoega-try-llvm-12
Merging #20495
2021-09-08 11:43:46 +03:00
Olga Revyakina
a62c428291 Translated and minor fixes 2021-09-08 05:52:17 +03:00
Olga Revyakina
cd038979d4 Initial (en) 2021-09-08 05:32:02 +03:00
Alexey
46638f1290 Links to CREATE FUNCTION and DROP FUNCTION from function Introduction 2021-09-07 19:32:12 +00:00
George
b984caaab7 Revert "Edited and translated to Russian"
This reverts commit 36f57555f6.
2021-09-07 19:55:13 +03:00
George
36f57555f6 Edited and translated to Russian 2021-09-07 19:50:07 +03:00
mergify[bot]
9dd9b7d430
Merge branch 'master' into gyuton-DOCSUP-11552-Fix-and-update-documentation 2021-09-07 13:28:28 +00:00
Maksim Kita
7a4a0b0ede
Merge pull request #28474 from azat/mysql-connection_no_block
Introduce connection_wait_timeout for MySQL engine.
2021-09-07 12:28:02 +03:00
Kseniia Sumarokova
f224b75aea
Merge pull request #28667 from kssenii/revert-2
Revert #28397
2021-09-07 09:42:23 +03:00
kssenii
cbc10cd3c0 Revert "Merge pull request #28397 from zhongyuankai/DOCSUP-13927-document-system_views"
This reverts commit d6f89fd9cf, reversing
changes made to 68f6ecec62.
2021-09-06 21:11:21 +00:00
George
dbdb3356ba fixed links 2021-09-06 23:34:43 +03:00
George
3f1e904722 Second iteration 2021-09-06 23:31:34 +03:00
Kseniia Sumarokova
9e496910a0
Merge pull request #28614 from kssenii/materialized-postgresql-2
MaterializedPostgreSQL: add solution to survive postgres primary failover
2021-09-06 22:31:15 +03:00
George
27876193fc Small fix 2021-09-06 15:36:20 +03:00
Evgeniia Sudarikova
c8c02b5e5b minor changes (articles, misprints) 2021-09-06 14:56:58 +03:00
adevyatova
348dec14a4 Add desc for MsgPack 2021-09-06 11:50:52 +00:00
Evgeniia Sudarikova
17a74d2188 edited after review 2021-09-06 11:48:51 +03:00
alesapin
603e455a18
Merge pull request #27988 from ka1bi4/romanzhukov-DOCSUP-DOCSUP-13431-ZooKeeper-snowflake
DOCSUP-13431: Edit and translate to Russian (ZooKeeper replication and snowflake)
2021-09-06 10:51:33 +03:00
alesapin
d6244bcd7b Merge branch 'master' into qoega-try-llvm-12 2021-09-06 10:25:26 +03:00
George
66efe4202c Fixed and updated 2021-09-06 02:34:09 +03:00
George
04f0efaaf4 first draft 2021-09-06 02:06:06 +03:00
kirillikoff
b40b4b0b4d
DOCSUP-13418: Document the regexp_max_matches_per_row setting (#28398)
* Document the regexp_max_matches_per_row setting

* Update docs/en/operations/settings/settings.md

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

* Document the regexp_max_matches_per_row setting ru version

* Update docs/ru/operations/settings/settings.md

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

Co-authored-by: Tatiana Kirillova <kirillikoff@yandex-team.ru>
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-09-05 14:37:24 +03:00
gyuton
309d1d899e
Apply suggestions from code review
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-09-04 21:36:17 +03:00
Alexey
d738f45ec0 Examples fixed 2021-09-04 16:31:04 +00:00
kssenii
ac2d9a73a8 User managed slots 2021-09-04 14:49:40 +03:00
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
George
213a0a5886 minor fixes 2021-09-03 16:36:43 +03:00
George
6bcfac838c Updated relations 2021-09-03 13:13:03 +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
gyuton
9aabf3235e
Apply suggestions from code review
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-09-03 12:50:38 +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
George
e968de659a fixed broken link 2021-09-02 04:53:21 +03:00
George
c4839e28d3 Added documentation 2021-09-02 03:48:47 +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