mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
40 lines
1.1 KiB
XML
40 lines
1.1 KiB
XML
<clickhouse>
|
|
<remote_servers>
|
|
<source_cluster>
|
|
<shard>
|
|
<weight>1</weight>
|
|
<replica>
|
|
<host>s0_0_0</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
</shard>
|
|
</source_cluster>
|
|
<default_cluster>
|
|
|
|
<shard>
|
|
<weight>1</weight>
|
|
<replica>
|
|
<host>s1_1_0</host>
|
|
<port>9000</port>
|
|
</replica>
|
|
</shard>
|
|
|
|
</default_cluster>
|
|
</remote_servers>
|
|
<max_workers>1</max_workers>
|
|
|
|
<tables>
|
|
<table_copier_test1>
|
|
<cluster_pull>source_cluster</cluster_pull>
|
|
<database_pull>default</database_pull>
|
|
<table_pull>copier_test1</table_pull>
|
|
|
|
<cluster_push>default_cluster</cluster_push>
|
|
<database_push>default</database_push>
|
|
<table_push>copier_test1_1</table_push>
|
|
<engine>ENGINE = MergeTree ORDER BY date SETTINGS index_granularity = 8192</engine>
|
|
<sharding_key>rand()</sharding_key>
|
|
</table_copier_test1>
|
|
</tables>
|
|
</clickhouse>
|