S
Size: a a a
S
PВ
S
ФЧ
PВ
S
DB::Exception: Too many parts (316). Merges are processing significantly slower than inserts..
cat $file | clickhouse-client --host $host --user $user --password=$password --query="INSERT INTO table.daily(\
EventDate,EventTime,Name,Node,Country,Url,Delay,Code,Error,Price,Cur,Img,ImgRich,Title,Winner,Domain\
) FORMAT TabSeparated"
DC
PВ
DC
DC
A
S
ФЧ
ФЧ
A
CREATE TABLE table.daily ( EventDate Date, EventTime DateTime, Name String, Node String, Country String, Url String, Delay Int32, Code Int32, Error String, Price Float64, Cur String, Img String, ImgRich String, Title String, Winner Int8, Domain String) ENGINE = Distributed('cluster', buffer, daily, rand())
SELECT partition, name, table FROM system.parts WHERE active
┌─partition─┬─name────────────────────────┬─table────────────┐
| 20191203 │ 20191203_21864_21892_2 │ daily │
│ 20191203 │ 20191203_21893_21899_1 │ daily │
│ 20191203 │ 20191203_21900_21907_1 │ daily │
DC
DC
ФЧ
ФЧ