Merge branch 'gyuton-DOCSUP-14941-Document-asynchronous-insert-mode' of https://github.com/gyuton/ClickHouse into gyuton-DOCSUP-14941-Document-asynchronous-insert-mode

This commit is contained in:
gyuton 2021-10-25 15:52:42 +03:00
commit 18b1e6872a
2 changed files with 4 additions and 4 deletions

View File

@ -3817,7 +3817,7 @@ Default value: `0`.
## async_insert {#async-insert}
Enables or disables asynchronous inserts for multiple concurrent connetions. This makes sense only for insertion over HTTP protocol. Note, that deduplications isn't working for such inserts.
Enables or disables asynchronous inserts for multiple concurrent connections. This makes sense only for insertion over HTTP protocol. Note that deduplication isn't working for such inserts.
If enabled, the data is combined into batches before the insertion into tables, so it is possible to do small and frequent insertions into ClickHouse (up to 15000 queries per second) without buffer tables.
@ -3827,8 +3827,8 @@ If [wait_for_async_insert](#wait-for-async-insert) is enabled, every client will
Possible values:
- 0 — Disabled.
- 1 — Enabled.
- 0 — Insertions are made synchronously, one after another.
- 1 — Multiple asynchronous insertions enabled.
Default value: `0`.

View File

@ -119,4 +119,4 @@ Performance will not decrease if:
- Data is added in real time.
- You upload data that is usually sorted by time.
It's also possible to asynchronously insert data in small but frequent inserts from multiple concurrent connections with the setting [async_insert](../../operations/settings/settings.md#async-insert). The data from such inserts is combined into batches and then safely inserted into a table.
It's also possible to asynchronously insert data in small but frequent inserts from multiple concurrent connections. The data from such insertions is combined into batches and then safely inserted into a table. To enable the asynchronous mode, switch on the [async_insert](../../operations/settings/settings.md#async-insert) setting. Note that asynchronous insertions are supported only over HTTP protocol, and deduplication is not supported for them.