mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
parent
494dfff73c
commit
b7bdd38e41
@ -6,6 +6,15 @@
|
|||||||
<profiles>
|
<profiles>
|
||||||
<!-- Default settings. -->
|
<!-- Default settings. -->
|
||||||
<default>
|
<default>
|
||||||
|
<!-- How to choose between replicas during distributed query processing.
|
||||||
|
random - choose random replica from set of replicas with minimum number of errors
|
||||||
|
nearest_hostname - from set of replicas with minimum number of errors, choose replica
|
||||||
|
with minimum number of different symbols between replica's hostname and local hostname
|
||||||
|
(Hamming distance).
|
||||||
|
in_order - first live replica is chosen in specified order.
|
||||||
|
first_or_random - if first replica one has higher number of errors, pick a random one from replicas with minimum number of errors.
|
||||||
|
-->
|
||||||
|
<load_balancing>random</load_balancing>
|
||||||
</default>
|
</default>
|
||||||
|
|
||||||
<!-- Profile that allows only read queries. -->
|
<!-- Profile that allows only read queries. -->
|
||||||
|
Loading…
Reference in New Issue
Block a user