其他分享
首页 > 其他分享> > clickhouse杂记

clickhouse杂记

作者:互联网

1,clickhouse show tables
SHOW [TEMPORARY] TABLES [FROM ] [LIKE ''] [LIMIT ] [INTO OUTFILE ] [FORMAT ]

show tables from tutorial like '%' limit 1;
直接像mysql 使用show tables; 不管用,一定要指定from 哪个DB

2,docker run -i --rm --link some-clickhouse-server clickhouse/clickhouse-client --host clickhouse-server "INSERT INTO tutorial.hits_v1 FORMAT TSV" --max_insert_block_size=100000 < /volume1/data/clickhouse/hits_v1.tsv

标签:tables,show,--,FORMAT,杂记,clickhouse,tutorial
来源: https://www.cnblogs.com/popeylj/p/15873436.html