是否有任何命令/sql可以显示clickhouse数据库中的表所使用的引擎?
create table t (id UInt16, name String) ENGINE = Memory;
insert into t(id, name) values (1, 'abc'), (2, 'xyz');
create table t2 as t ENGINE = TinyLog;
insert into t2(id, name) values (3, 'efg'), (4, 'hij');
create table t3 ENGINE = Log as select * from t;
descripe命令不显示引擎信息
describe t
我怎么知道哪个发动机在用?
1条答案
按热度按时间xzabzqsa1#
如果你跑了
它将为您提供重新创建表的查询
t
包括发动机信息。或者跑