在MemSQL中是否可以使用“create table xxx as select ...”创建一个表,创建的表xxx是基于磁盘的(即CLUSTERED COLUMNSTORE)? 我无法做到这一点。
谢谢!
答案 0 :(得分:3)
您可以为表格指定选项,包括如下索引:
create table c (key using clustered columnstore (a)) as select a,b from t;
有关详细信息,请参阅http://docs.memsql.com/docs/create-table#section-create-table-select