2020-07-21 17:51:02 +00:00
|
|
|
<?xml version="1.0"?>
|
2021-09-19 22:38:53 +00:00
|
|
|
<clickhouse>
|
2020-07-21 17:51:02 +00:00
|
|
|
<remote_servers>
|
|
|
|
<replicated_cluster>
|
|
|
|
<shard>
|
|
|
|
<internal_replication>true</internal_replication>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse1</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse2</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse3</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
</replicated_cluster>
|
2020-07-28 20:14:52 +00:00
|
|
|
<!--
|
|
|
|
<replicated_cluster_readonly>
|
|
|
|
<shard>
|
|
|
|
<internal_replication>true</internal_replication>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse1</host>
|
|
|
|
<port>9000</port>
|
|
|
|
<user>readonly</user>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse2</host>
|
|
|
|
<port>9000</port>
|
|
|
|
<user>readonly</user>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse3</host>
|
|
|
|
<port>9000</port>
|
|
|
|
<user>readonly</user>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
</replicated_cluster_readonly>
|
|
|
|
-->
|
2020-07-21 17:51:02 +00:00
|
|
|
<replicated_cluster_secure>
|
|
|
|
<shard>
|
|
|
|
<internal_replication>true</internal_replication>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse1</host>
|
|
|
|
<port>9440</port>
|
|
|
|
<secure>1</secure>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse2</host>
|
|
|
|
<port>9440</port>
|
|
|
|
<secure>1</secure>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse3</host>
|
|
|
|
<port>9440</port>
|
|
|
|
<secure>1</secure>
|
|
|
|
</replica>
|
2020-10-15 20:23:49 +00:00
|
|
|
</shard>
|
|
|
|
</replicated_cluster_secure>
|
|
|
|
<cluster1>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse1</host>
|
|
|
|
<port>9440</port>
|
|
|
|
<secure>1</secure>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
</cluster1>
|
|
|
|
<sharded_cluster12>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse1</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse2</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
</sharded_cluster12>
|
|
|
|
<one_shard_cluster12>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse1</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse2</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
</one_shard_cluster12>
|
|
|
|
<sharded_cluster23>
|
2020-07-28 20:14:52 +00:00
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse2</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse3</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
2020-07-21 17:51:02 +00:00
|
|
|
</shard>
|
2020-10-15 20:23:49 +00:00
|
|
|
</sharded_cluster23>
|
|
|
|
<one_shard_cluster23>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse2</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse3</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
</one_shard_cluster23>
|
|
|
|
<sharded_cluster>
|
2020-07-21 17:51:02 +00:00
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse1</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse2</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse3</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
</sharded_cluster>
|
2020-10-15 20:23:49 +00:00
|
|
|
<one_shard_cluster>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse1</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse2</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse3</host>
|
|
|
|
<port>9000</port>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
</one_shard_cluster>
|
2020-07-21 17:51:02 +00:00
|
|
|
<sharded_cluster_secure>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse1</host>
|
|
|
|
<port>9440</port>
|
|
|
|
<secure>1</secure>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse2</host>
|
|
|
|
<port>9440</port>
|
|
|
|
<secure>1</secure>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
<shard>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse3</host>
|
|
|
|
<port>9440</port>
|
|
|
|
<secure>1</secure>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
</sharded_cluster_secure>
|
2020-07-28 20:14:52 +00:00
|
|
|
<sharded_cluster_secure_long_usernames>
|
|
|
|
<shard>
|
|
|
|
<internal_replication>true</internal_replication>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse1</host>
|
|
|
|
<port>9440</port>
|
|
|
|
<secure>1</secure>
|
|
|
|
<!-- i'm simulateing the problem here with long username, but it happens also when there are a lot of servers in cluster -->
|
|
|
|
<user>user_with_a_very_very_very_very_long_name_we_will_use_him_to_simulate_the_problem_with_inserting_to_distributed_when_folder_name_is_too_long_i_hope_that_length_is_enough_username_end</user>
|
|
|
|
<password></password>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse2</host>
|
|
|
|
<port>9440</port>
|
|
|
|
<secure>1</secure>
|
|
|
|
<user>user_with_a_very_very_very_very_long_name_we_will_use_him_to_simulate_the_problem_with_inserting_to_distributed_when_folder_name_is_too_long_i_hope_that_length_is_enough_username_end</user>
|
|
|
|
<password></password>
|
|
|
|
</replica>
|
|
|
|
<replica>
|
|
|
|
<host>clickhouse3</host>
|
|
|
|
<port>9440</port>
|
|
|
|
<secure>1</secure>
|
|
|
|
<user>user_with_a_very_very_very_very_long_name_we_will_use_him_to_simulate_the_problem_with_inserting_to_distributed_when_folder_name_is_too_long_i_hope_that_length_is_enough_username_end</user>
|
|
|
|
<password></password>
|
|
|
|
</replica>
|
|
|
|
</shard>
|
|
|
|
</sharded_cluster_secure_long_usernames>
|
2020-07-21 17:51:02 +00:00
|
|
|
</remote_servers>
|
2021-09-19 22:38:53 +00:00
|
|
|
</clickhouse>
|