DDL statements that differ for ColumnStore

You are viewing an old version of this article. View the current version here.

In most cases, a ColumnStore table works just as any other MariaDB table. There are however a few differences.

The following table lists the data definition statements (DDL) that differ from normal MariaDB DDL when used on ColumnStore tables.

DDLDifference
DROP TABLEColumnstore supports DROP TABLE ...RESTRICT which only drops the table in the front end.
RENAME TABLEColumnStore doesn't allow one to rename a table between databases.
CREATE TABLEColumnStore doesn't need indexes, partitions and many other table and column options. See here for ColumnStore Specific Syntax
CREATE INDEXColumnStore doesn't need indexes. Hence an index many not be created on a table that is defined with engine=columnstore

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.