执行的语法和命令如下:
time clickhouse-client -h localhost -u default --password "root" --port 9000 -d tpch -q "select count(*) from customer;"
打印的结果显示如下:
root@test-stonedata-ck02:~# time clickhouse-client -h localhost -u default --password "root" --port 9000 -d tpch -q "select count(*) from customer;" 1500000 real 0m0.334s user 0m0.106s sys 0m0.033s
标签:--,查询,select,终端,tpch,root,port,clickhouse From: https://www.cnblogs.com/syw20170419/p/17425365.html