问题
I'm trying to load *.gz file to Clickhouse through: clickhouse-client --max_memory_usage=15323460608 --format_csv_delimiter="|" --query="INSERT INTO tmp1.my_test)table FORMAT CSV"
I"m getting the error: Code: 210. DB::NetException: Connection reset by peer, while writing to socket (127.0.0.1:9000) .
No errors in clickhouse-server.log , clickhouse-server.err.log or zookeeper.log
When I run the insert command I see the memory is getting almost the limit of the server ( 32Gb) this is why I tried to limit it through max_memory_usage , the same error
Any ideas? Thanks in advance
来源:https://stackoverflow.com/questions/56156682/clickhouse-import-data-from-csv-dbnetexception-connection-reset-by-peer-whil