Commit Graph

3778 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
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
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
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
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
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
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
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
bb2ee9609f Compression mentioned in File engine 2021-02-23 16:43:40 +03:00
lehasm
9e052ae178 Examples moved to section end 2021-02-23 15:23:26 +03:00
Maksim Kita
468dd76595
Merge pull request #20625 from Taschenbergerm/patch-1
Update argmax.md
2021-02-23 13:46:11 +03:00
Maksim Kita
609c35a49c
Added special case in documentation example 2021-02-23 12:36:26 +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
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