mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Update documentation for SYSTEM FLUSH DISTRIBUTED SETTINGS
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
0d1751fd55
commit
4c9ea0075b
@ -180,10 +180,16 @@ SYSTEM STOP DISTRIBUTED SENDS [db.]<distributed_table_name> [ON CLUSTER cluster_
|
||||
|
||||
Forces ClickHouse to send data to cluster nodes synchronously. If any nodes are unavailable, ClickHouse throws an exception and stops query execution. You can retry the query until it succeeds, which will happen when all nodes are back online.
|
||||
|
||||
You can also override some settings via `SETTINGS` clause, this can be useful to avoid some temporary limitations, like `max_concurrent_queries_for_all_users` or `max_memory_usage`.
|
||||
|
||||
``` sql
|
||||
SYSTEM FLUSH DISTRIBUTED [db.]<distributed_table_name> [ON CLUSTER cluster_name]
|
||||
SYSTEM FLUSH DISTRIBUTED [db.]<distributed_table_name> [ON CLUSTER cluster_name] [SETTINGS ...]
|
||||
```
|
||||
|
||||
:::note
|
||||
Each pending block is stored in disk with settings from the initial INSERT query, so that is why sometimes you may want to override settings.
|
||||
:::
|
||||
|
||||
### START DISTRIBUTED SENDS
|
||||
|
||||
Enables background data distribution when inserting data into distributed tables.
|
||||
|
Loading…
Reference in New Issue
Block a user