Commit Graph

5653 Commits

Author SHA1 Message Date
Azat Khuzhin
6965ac26c3 Distributed: Add ability to delay/throttle INSERT until pending data will be reduced
Add two new settings for the Distributed engine:
- bytes_to_delay_insert
- max_delay_to_insert

If at the beginning of INSERT there will be too much pending data, more
then bytes_to_delay_insert, then the INSERT will wait until it will be
shrinked, and not more then max_delay_to_insert seconds.

If after this there will be still too much pending, it will throw an
exception.

Also new profile events were added (by analogy to the MergeTree):
- DistributedDelayedInserts (although you can use system.errors instead
  of this, but still)
- DistributedRejectedInserts
- DistributedDelayedInsertsMilliseconds
2021-03-03 23:30:23 +03:00
Azat Khuzhin
b5a5778589 Distributed: Add ability to limit amount of pending bytes for async INSERT
Right now with distributed_directory_monitor_batch_inserts=1 and
insert_distributed_sync=0 INSERT into Distributed table will store
blocks that should be sent to remote (and in case of
prefer_localhost_replica=0 to the localhost too) on the local
filesystem, and sent it in background.

However there is no limit for this storage, and if the remote is
unavailable (or some other error), these pending blocks may take
significant space, and this is not always desired behaviour.

Add new Distributed setting - bytes_to_throw_insert, that will set the
limit for how much pending bytes is allowed, if the limit will be
reached an exception will be throw.

By default was set to 0, to avoid surprises.
2021-03-03 23:30:00 +03:00
Dmitriy
fec0cf5f09 Edit and translate to Russian
Поправил английскую версию и выполнил перевод на русский язык.
2021-03-02 20:59:33 +03:00
sevirov
9d98c8ea2e
Update docs/en/operations/opentelemetry.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-01 21:47:02 +03:00
sevirov
f47bd5fae8
Update docs/en/operations/opentelemetry.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-01 21:46:52 +03:00
sevirov
02ebe453a5
Update docs/ru/operations/opentelemetry.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-01 21:46:39 +03:00
sevirov
c912c966d8
Update docs/ru/operations/opentelemetry.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-01 21:46:21 +03:00
Dmitriy
08a49dd28a Update opentelemetry.md
Исправил небольшую опечатку.
2021-03-01 20:24:18 +03:00
sevirov
b3095d0ba0
Update docs/ru/operations/opentelemetry.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-01 20:05:24 +03:00
sevirov
25ff24dfee
Update docs/ru/operations/opentelemetry.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-01 20:05:04 +03:00
sevirov
51af0bd2d1
Update docs/ru/operations/opentelemetry.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-01 20:04:43 +03:00
sevirov
281b18827b
Update docs/ru/operations/opentelemetry.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-01 20:04:25 +03:00
sevirov
5b638653e4
Update docs/ru/operations/opentelemetry.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-01 20:03:44 +03:00
sevirov
a43ce6dc16
Update docs/ru/operations/opentelemetry.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-01 20:02:48 +03:00
olgarev
15b3f379a5
DOCSUP-4915: documented geo data types (#21294)
* Initial

* Fix links

* Fix master

* Mistakes corrected

* Minor fix

* Fixes and intro.

* Update geo.md

* Apply suggestions from code review

Co-authored-by: Anton Popov <pad11rus@gmail.com>

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: Anton Popov <pad11rus@gmail.com>
2021-03-01 19:41:16 +03:00
Roman Bug
a4f2ee0752
DOCSUP-6144: Edit and translate PR to Russian (#19780)
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
Co-authored-by: romanzhukov <romanzhukov@yandex-team.ru>
Co-authored-by: Vladimir <vdimir@yandex-team.ru>
2021-03-01 16:51:38 +03:00
Nikita Mikhaylov
cb2a26308f
Merge pull request #20347 from gyuton/gyuton-DOCSUP-6549-Edit_and_translate
DOCSUP-6549: Edited and translated to Russian
2021-03-01 16:49:06 +03:00
Chao Ma
c2b8612525 Fix error configuration for cluster secret 2021-03-01 16:30:42 +08:00
alexey-milovidov
9b633ac564
Update ontime.md 2021-02-28 23:27:01 +03:00
Vladimir
6aa72bcd43
Merge pull request #19591 from ka1bi4/romanzhukov-DOCSUP-5266-PR-translate 2021-02-28 20:40:04 +03:00
Dmitriy
187eb837db Add the links
Добавил ссылки.
2021-02-28 20:10:44 +03:00
Alexey Milovidov
01ef06a42c Fix broken links 2021-02-28 02:31:47 +03:00
alexey-milovidov
528f1d9a39
Merge pull request #21266 from Sin4wd/patch-1
Fix broken links in "See Also"
2021-02-28 02:29:18 +03:00
alexey-milovidov
7d8ddbb813
Merge pull request #21278 from ClickHouse/cell-towers
Add new dataset: Cell Towers
2021-02-27 23:42:58 +03:00
Nikita Mikhaylov
ad72a83711
Merge pull request #20325 from gyuton/gyuton-DOCSUP-6073-Document_mapContains_mapKeys_mapValues_functions
DOCSUP-6073: Documented mapContains, mapKeys, mapValues functions
2021-02-27 23:16:45 +03:00
Nikolay
bb5a8241b9
Add information about my ClickHouse PHP extension
I made a native PHP extension for ClickHouse using the clickhouse-cpp library.
My goal is to make a fast extension for ClickHouse with interface similar to mysqli.
2021-02-27 21:05:04 +03:00
Alexey Milovidov
5e3c9a5deb Rename 2021-02-27 17:44:12 +03:00
Alexey Milovidov
2cafd54c17 Add new dataset: Cell Towers 2021-02-27 17:42:31 +03:00
Sina
df95411d51
Fix broken links in "See Also"
The link was transformed into "https://clickhouse.tech/docs/en/sql-reference/sql-reference/statements/create/table#ttl-expression" which did not exist and got 404.
2021-02-27 01:04:35 +03:30
Maksim Kita
e83f360ada
Merge pull request #21195 from johnhummelAltinity/patch-1
Update encryption-functions.md
2021-02-26 23:47:52 +03:00
tavplubix
d2cba7581f
Merge pull request #20478 from sevirov/sevirov-DOCSUP-6544-edit_translate_russian_insert_query_support
DOCSUP-6544: Edit and translate to Russian
2021-02-26 22:47:19 +03:00
Dmitriy
e79c308194 Fix the link
Пытаюсь поправить битую ссылку.
2021-02-26 21:49:33 +03:00
tavplubix
b8418533a3
Update docs/en/sql-reference/table-functions/url.md 2021-02-26 17:28:56 +03:00
Vladimir
9038fb3861
Merge pull request #20540 from lehasm/alexey-sm-DOCSUP-4328-document-xz-compression 2021-02-26 15:44:47 +03:00
Vladimir
17d9406501
Apply suggestions from code review 2021-02-26 15:13:41 +03:00
Vladimir
0c5e48df9c
Merge pull request #20556 from gyuton/gyuton-DOCSUP-6234-Add_aliases_to_functions 2021-02-26 15:01:15 +03:00
Dmitriy
83cf614c55 Fix the link
Правлю битые ссылки.
2021-02-26 00:37:22 +03:00
Dmitriy
efb17c0f31 Merge remote-tracking branch 'remotes/clickhouse/master' into sevirov-DOCSUP-6544-edit_translate_russian_insert_query_support 2021-02-25 23:34:36 +03:00
Dmitriy
90527556ad Fix by the comments
Поправил на основании комментарий разработчика.
2021-02-25 22:21:11 +03:00
John Hummel
64327eafc8
Update encryption-functions.md
Updated Optinal to Optional line 136.
2021-02-25 10:50:22 -05:00
Roman Bug
168e6c63ea
Merge branch 'master' into romanzhukov-DOCSUP-5822-update-accurateCastOrNull 2021-02-25 14:40:49 +03:00
Nikita Mikhaylov
d4e48f44f5
Update encryption-functions.md 2021-02-25 14:20:42 +03:00
Nikita Mikhaylov
70b8d6d565
Update encryption-functions.md 2021-02-25 14:19:26 +03:00
Maksim Kita
200d81cea7
Merge pull request #19993 from benbiti/master
[Docs]fix mistype in avg
2021-02-24 23:26:16 +03:00
Maksim Kita
56ce7dfa4c
Merge pull request #20294 from sevirov/sevirov-DOCSUP-6294-document_parseDateTimeBestEffortUSOrZero_parseDateTimeBestEffortUSOrNull_functions
DOCSUP-6294: Document the parseDateTimeBestEffortUSOrZero and parseDateTimeBestEffortUSOrNull functions
2021-02-24 21:52:50 +03:00
Maksim Kita
af13c36a4b
Updated documentation 2021-02-24 21:49:56 +03:00
Maksim Kita
32f10f402c
Updated documentation 2021-02-24 21:48:28 +03:00
Kruglov Pavel
6dc683dce6
Merge pull request #19815 from otrazhenia/evgsudarikova-DOCSUP-6149
DOCSUP-6149: Edit and translate to Russian
2021-02-24 16:15:56 +03:00
Denny Crane
c25ea35099
Update settings.md 2021-02-23 18:22:47 -04:00
Denny Crane
613854df0d
Update settings.md
fix hyperlink
2021-02-23 17:43:52 -04:00
lehasm
7ee4492823 Fixed link 2021-02-23 17:24:15 +03:00
lehasm
bb2ee9609f Compression mentioned in File engine 2021-02-23 16:43:40 +03:00
lehasm
0b82889740 Translated to ru 2021-02-23 16:00:41 +03:00
lehasm
9e052ae178 Examples moved to section end 2021-02-23 15:23:26 +03:00
gyuton
9f169aa13e
Update docs/ru/sql-reference/functions/tuple-map-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-23 15:08:39 +03:00
gyuton
c223a87658
Update docs/ru/sql-reference/functions/tuple-map-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-23 15:08:34 +03:00
gyuton
07e4cbcc06
Update docs/ru/sql-reference/functions/tuple-map-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-23 15:08:29 +03:00
Maksim Kita
468dd76595
Merge pull request #20625 from Taschenbergerm/patch-1
Update argmax.md
2021-02-23 13:46:11 +03:00
alexey-milovidov
bfcf78e9cb
Merge pull request #21090 from den-crane/patch-11
Update lowcardinality.md
2021-02-23 12:38:02 +03:00
Maksim Kita
609c35a49c
Added special case in documentation example 2021-02-23 12:36:26 +03:00
Denny Crane
2aee897243
Update lowcardinality.md 2021-02-22 18:21:30 -04:00
Maksim Kita
99875c23bc Documentation low cardinality fix 2021-02-22 21:34:23 +03:00
tavplubix
5aed41fd81
Merge pull request #20217 from vzakaznikov/live-view-docs
Adding documentation for LIVE VIEWs
2021-02-22 16:08:06 +03:00
alexey-milovidov
50639b7dba
Merge pull request #21052 from ClickHouse/file-engine-settings
Merging #20620
2021-02-22 13:10:31 +03:00
idfer
2159344628
Fixed words typo in the setting-users doc. 2021-02-22 11:17:05 +08:00
Alexey Milovidov
46ac365629 Merge branch 'master' into topvisor/file-engine-settings 2021-02-21 23:10:26 +03:00
Vitaliy Zakaznikov
c2a71dda1f Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into live-view-docs 2021-02-21 09:50:02 -05:00
Vitaliy Zakaznikov
46f67fa8ac Adding examples to live view docs. 2021-02-21 09:45:20 -05:00
Michael Monashev
f93b450da9
Update lowcardinality.md 2021-02-21 16:00:52 +03:00
Michael Monashev
75edfd0549
Update lowcardinality.md 2021-02-21 15:56:47 +03:00
gyuton
743b705952
Merge branch 'master' into gyuton-DOCSUP-6234-Add_aliases_to_functions 2021-02-21 15:31:29 +03:00
gyuton
0a58fd2eb2
Merge branch 'master' into gyuton-DOCSUP-6549-Edit_and_translate 2021-02-21 15:28:06 +03:00
George
bff08e32bf updates 2021-02-21 15:22:48 +03:00
George
159c619407 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into gyuton-DOCSUP-6073-Document_mapContains_mapKeys_mapValues_functions 2021-02-21 15:16:11 +03:00
George
cfb0dbb9e5 updated and added links 2021-02-21 15:01:10 +03:00
Evgeniia Sudarikova
d723f25fbd delete extra text 2021-02-20 16:51:31 +03:00
Anton Popov
6ca51c2b8d
Merge pull request #20450 from lehasm/alexey-sm-DOCSUP-5974-document-decodeXMLComponent
DOCSUP-5974: documented decodeXMLComponent function
2021-02-20 03:03:18 +03:00
alexey-milovidov
a78523cf01
Merge pull request #20208 from vzakaznikov/ldap_docs
Adding documentation on how to use LDAP server as external user authenticator or directory
2021-02-19 20:56:01 +03:00
alexey-milovidov
2299930c31
Merge pull request #20545 from kssenii/rabbit-format-settings
rabbitmq: add missing format factory settings
2021-02-19 20:24:17 +03:00
Maksim Kita
71c65b5d82
Merge pull request #20611 from kitaisreal/rename-untyped-function-reinterpret-as
Rename untyped function reinterpretAs into reinterpret
2021-02-19 14:35:00 +03:00
Maksim Kita
5bbd6f7480 Fixed documentation 2021-02-19 12:37:00 +03:00
sevirov
5eb5180ef8
Update docs/ru/sql-reference/table-functions/url.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-18 21:49:33 +03:00
sevirov
31e78ef998
Update docs/ru/sql-reference/table-functions/url.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-18 21:48:54 +03:00
sevirov
3222a9aecd
Update docs/ru/sql-reference/table-functions/url.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-18 21:48:32 +03:00
sevirov
234ec940be
Update docs/ru/sql-reference/table-functions/remote.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-18 21:48:13 +03:00
sevirov
d10c9f1bd3
Update docs/ru/sql-reference/table-functions/remote.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-18 21:47:50 +03:00
sevirov
3ba3faa156
Update docs/ru/sql-reference/table-functions/remote.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-18 21:47:28 +03:00
sevirov
ef263d0356
Update docs/ru/sql-reference/table-functions/remote.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-18 21:46:56 +03:00
sevirov
ce6263220a
Update docs/ru/sql-reference/table-functions/remote.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-18 21:46:35 +03:00
sevirov
95c07b19ec
Update docs/ru/sql-reference/table-functions/remote.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-18 21:46:13 +03:00
sevirov
ee168507db
Update docs/ru/sql-reference/table-functions/remote.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-18 21:45:48 +03:00
sevirov
fe4419b220
Update docs/ru/sql-reference/table-functions/remote.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-18 21:45:25 +03:00
sevirov
44bd6670da
Update docs/ru/sql-reference/table-functions/file.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-18 21:44:40 +03:00
sevirov
d79ea4f383
Update docs/ru/sql-reference/table-functions/file.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-18 21:44:03 +03:00
sevirov
4b4c37a719
Update docs/en/sql-reference/table-functions/file.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-18 21:42:38 +03:00
sevirov
500d3561cf
Update docs/ru/sql-reference/table-functions/file.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-18 21:41:47 +03:00
sevirov
0e8a951ac5
Update docs/ru/operations/caches.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-18 21:38:54 +03:00
Dmitriy
03640221a8 Add the zero date
Добавил нулевую дату.
2021-02-18 21:33:30 +03:00
sevirov
1626833987
Update docs/ru/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-18 21:21:25 +03:00
sevirov
5cfe245e22
Update docs/ru/sql-reference/functions/type-conversion-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-02-18 21:21:12 +03:00