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
手机扫一扫
移动阅读更方便
你可能感兴趣的文章