HackerTrans
TopNewTrendsCommentsPastAskShowJobs

qoega

no profile record

comments

qoega
·ปีที่แล้ว·discuss
It is meant for single reader/writer workload so not meant to be used as a service
qoega
·2 ปีที่แล้ว·discuss
In ClickHouse it is just `INSERT INTO t FROM INFILE 'data.csv.gz'`. Any supported format, any encryption, autodetected from file name and sample data piece to get column types, delimeters etc. Separate tools to convert CSV are not necessary if you can just import to db and export as SQL Statements.

echo "name,age,city John,30,New York Jane,25,Los Angeles" > example.csv

clickhouse local -q "SELECT * FROM file('example.csv') FORMAT SQLInsert" INSERT INTO table (`name`, `age`, `city`) VALUES ('John', 30, 'New York'), ('Jane', 25, 'Los Angeles');
qoega
·2 ปีที่แล้ว·discuss
Are you guy comparing 16vCPU/32GB vs 8vCPU/32GB and say yours is only 1.6 faster?