【问题标题】:MemSQL - create table as select as CLUSTERED COLUMNSTOREMemSQL - 创建表作为选择作为 CLUSTERED COLUMNSTORE
【发布时间】:2016-08-23 17:53:27
【问题描述】:

是否可以在 MemSQL 中使用“create table xxx as select ...”创建表,并且创建的表 xxx 是基于磁盘的(即 CLUSTERED COLUMNSTORE)? 我无法做到这一点。

谢谢!

【问题讨论】:

标签: singlestore


【解决方案1】:

您可以为包含索引的表指定选项,如下所示:

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

【讨论】:

  • 谢谢,Jack Chen。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2016-01-04
  • 1970-01-01
  • 2013-07-17
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多