Commit Graph

8703 Commits

Author SHA1 Message Date
Dmitriy
62b15122ff
DOCSUP-13875: Document the replication_wait_for_inactive_replica_timeout setting (#28464)
* Add documentation of settings

Задокументировал две настройки.

* Fix links

Поправил ссылки.

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

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

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

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

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

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

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

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

* Update docs/en/sql-reference/statements/alter/index.md

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

* Update docs/en/sql-reference/statements/alter/index.md

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

* Update docs/en/sql-reference/statements/optimize.md

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

* Update docs/en/sql-reference/statements/truncate.md

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

* Update docs/en/sql-reference/statements/truncate.md

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

* Translate to Russian

Выполнил перевод на русский язык.

* Fix links

Поправил ссылки.

* Update settings.md

Поправил перевод.

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

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

* Update docs/en/sql-reference/statements/alter/index.md

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

* Update docs/en/sql-reference/statements/optimize.md

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

* Update docs/en/sql-reference/statements/truncate.md

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

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

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

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

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

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

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

* Fix errors

Исправил неточности в описании.

* Update optimize.md

Поправил описание запроса OPTIMIZE.

Co-authored-by: Dmitriy <sevirov@yandex-team.ru>
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-09-09 23:33:08 +03:00
olgarev
b6dea3e8e3
Apply suggestions from code review 2021-09-09 22:33:59 +03:00
olgarev
89744e908c
Update docs/en/sql-reference/table-functions/s3.md 2021-09-09 22:26:51 +03:00
olgarev
cd687614fa
Apply suggestions from code review 2021-09-09 22:25:04 +03:00
olgarev
e160f64917
Apply suggestions from code review
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-09-09 22:23:02 +03:00
Nikolay Degterinsky
f5a9a0b3cc
Merge pull request #28632 from gyuton/gyuton-DOCSUP-11552-Fix-and-update-documentation
DOCSUP-11552: Fixed and updated documentation
2021-09-09 20:48:33 +03:00
gyuton
47e1ecc05a
Update docs/en/sql-reference/functions/tuple-map-functions.md
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2021-09-09 18:40:02 +03:00
alexey-milovidov
f38e2a6548
Merge pull request #28770 from MagiaGroz/patch-1
Update index.md
2021-09-09 11:33:23 +03:00
MagiaGroz
c0b5e0f35e
update en-docs alter/index 2021-09-09 13:45:06 +06:00
DuckSoft
2d49c77aca
Update formats.md
remove excess characters from doc
2021-09-09 14:19:44 +08:00
MagiaGroz
8bf0cc695d
Update index.md 2021-09-09 12:02:18 +06:00
alexey-milovidov
697eb7a6c0
Merge pull request #28755 from den-crane/patch-26
Doc. How to install specific version of ClickHouse
2021-09-08 21:42:29 +03:00
alexey-milovidov
6291ac4bbb
Update install.md 2021-09-08 21:42:22 +03:00
alexey-milovidov
2819fc4e2a
Update install.md 2021-09-08 21:42:10 +03:00
alexey-milovidov
821704192b
Update install.md 2021-09-08 21:41:27 +03:00
alexey-milovidov
ba4effd69a
Update install.md 2021-09-08 21:41:11 +03:00
Kruglov Pavel
5ff689a5cd
Merge pull request #28666 from gyuton/gyuton-DOCSUP-14092-Document-the-settings-for-inserting-Nested
DOCSUP-14092: Documented the settings for inserting nested
2021-09-08 20:21:56 +03:00
George
a24186734e minor changes 2021-09-08 20:14:25 +03:00
George
43850b51d7 Small fix 2021-09-08 19:40:47 +03:00
George
5ab0f3ac28 Updated docs 2021-09-08 19:38:59 +03:00
Denny Crane
afb860c18a
Update install.md 2021-09-08 12:22:05 -03:00
Denny Crane
27ec8bd194
Update install.md 2021-09-08 12:09:18 -03:00
Denny Crane
06eca1cbc0
Update install.md 2021-09-08 12:06:24 -03:00
Nikita Mikhaylov
107710e618 save 2021-09-08 15:06:15 +00:00
George
3a94928911 translated to Russian 2021-09-08 13:40:43 +03: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
gyuton
a6e8f3fa01
Apply suggestions from code review
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-09-06 13:58:34 +03: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
7a14deaf8d added translation 2021-09-03 15:53:14 +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
Alexey
7667a20936 Russian fixes 2021-09-02 18:44:37 +00: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
610257dcd2 Translated to Russian 2021-09-01 18:36:47 +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
81a3ee6584 Fix PR comments. 2021-09-01 14:41:05 +00:00
Roman Zhukov
cce799d9b5 Fix PR comments. 2021-09-01 14:28:23 +00:00
Roman Zhukov
248a97201c Fix PR comments. 2021-09-01 14:26:36 +00:00
Roman Zhukov
0726af6d0c Fix PR comments. 2021-09-01 14:08:34 +00:00
Roman Zhukov
42483d31b7 Fix PR comments. 2021-09-01 13:53:12 +00:00
romanzhukov
2cea77c395 Fix PR comment. 2021-08-31 16:54:41 +03: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
Roman Bug
1b00ec99a9
Update docs/ru/sql-reference/functions/encoding-functions.md
Co-authored-by: Alexey Boykov <33257111+mathalex@users.noreply.github.com>
2021-08-31 15:42:10 +03:00
romanzhukov
061a4c4a27 Fix PR comment. 2021-08-31 14:55:46 +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
7c3a37ee37 Fix PR comments. 2021-08-31 07:25:05 +00: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
Roman Bug
e0c643777e
Update docs/ru/sql-reference/functions/encoding-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-31 09:34:05 +03:00
Roman Bug
952b993afe
Update docs/ru/sql-reference/functions/encoding-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-31 09:33:54 +03:00
Roman Bug
78d2bfeada
Update docs/ru/sql-reference/functions/encoding-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-31 09:33:45 +03:00
Roman Bug
3553ae3e13
Update docs/ru/sql-reference/functions/encoding-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-31 09:32:25 +03:00
Roman Bug
4feafb4388
Update docs/ru/sql-reference/functions/encoding-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-08-31 09:32:06 +03:00