DC
Таже могу я сделать distributed->MV->distributed?
>Таже могу я сделать distributed->MV->distributed?
да, можете. Иногда так делают чтобы записывать в MV шадрированное отличным от таблицы ключом. Но чаще всего это ненужный выстрел себе в колено.
Size: a a a
DC
PB
DT
SK
DC
DC
DC
DC
DC
PB
DC
DT
DC
PB
PB
DT
DT
DC
pk
A
Processing configuration file './config.xml'.
Logging debug to /home/hadoop/clickhouse_migrate/clickhouse/clickhouse-copier_20200521150650_27919/log.log
Logging errors to /home/hadoop/clickhouse_migrate/clickhouse/clickhouse-copier_20200521150650_27919/log.err.log
Logging debug to console
2020.05.21 15:06:50.504213 [ 27919 ] {} <Information> : Starting ClickHouse 20.3.8.53 with revision 54433
2020.05.21 15:06:50.504381 [ 27919 ] {} <Information> Application: Starting clickhouse-copier (id 20200521150650_27919, host_id dev%2Dmarketvision#20200521150650_27919, path /home/hadoop/clickhouse_migrate/clickhouse/clickhouse-copier_20200521150650_27919, revision 54433)
2020.05.21 15:06:50.515828 [ 27919 ] {} <Debug> ClusterCopier: Loading description, zxid=0
2020.05.21 15:06:50.518932 [ 27919 ] {} <Debug> ClusterCopier: Will process 1 table tasks
2020.05.21 15:06:50.546513 [ 27919 ] {} <Information> ClusterCopier: Process table task destination_cluster.mv_db.test with 1 shards, 1 of them are local ones
2020.05.21 15:06:50.546824 [ 27919 ] {} <Debug> ClusterCopier: Waiting for 1 setup jobs
2020.05.21 15:06:50.547176 [ 27925 ] {} <Information> ClusterCopier: Discover partitions of shard N1 (having a replica 127.0.0.1:8123, pull table test_db.test of cluster source_cluster)
2020.05.21 15:06:50.554103 [ 27925 ] {} <Warning> ConnectionPoolWithFailover: Connection failed at try №1, reason: Code: 210, e.displayText() = DB::NetException: SSL Exception: error:1400010B:SSL routines::wrong version number (127.0.0.1:8123) (version 20.3.8.53 (official build))
2020.05.21 15:06:50.617287 [ 27925 ] {} <Error> ClusterCopier: Will retry: Code: 279, e.displayText() = DB::NetException: All connection tries failed. Log:
Code: 210, e.displayText() = DB::NetException: SSL Exception: error:1400010B:SSL routines::wrong version number (127.0.0.1:8123) (version 20.3.8.53 (official build))
, Stack trace (when copying this message, always include the lines below):