校验插入的数据 通过查看插入了多少行来校验数据插入: SELECT count() FROM uk_price_paid 在运行此查询时,数据集有27,450,499行,执行以下命令查看云数据库ClickHouse 中最终存储的数据大小: SELECT formatReadableSize(total_bytes) FROM system.tables WHERE name = 'uk_price_paid' 可以从查询结果注意到插入数据仅有221.43 MiB。 4.
本文为您介绍如何使用查询结果创建数据表。 teledb=# insert into t values(1,'teledb'); INSERT 0 1 teledb=# create table t_as as select * from t; INSERT 0 1 teledb=# select * from t_as; id | mc ----+---------- 1 | teledb (1 row)
本文为您介绍如何使用查询结果创建数据表。 teledb=# insert into t values(1,'teledb'); INSERT 0 1 teledb=# create table t_as as select * from t; INSERT 0 1 teledb=# select * from t_as; id | mc ----+---------- 1 | teledb (1 row)