> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/analytics/mariadb-columnstore/reference/data-definition-statements/ddl-statements-that-differ-for-columnstore.md).

# DDL Statements Different in ColumnStore

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](/docs/server/reference/sql-statements/data-definition.md) when used on ColumnStore tables.

| DDL                                                                                          | Difference                                                                                                                                                                                                                             |
| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [DROP TABLE](/docs/server/server-usage/tables/drop-table.md)                                 | ColumnStore supports [DROP TABLE ...RESTRICT](/docs/analytics/mariadb-columnstore/reference/data-definition-statements/columnstore-drop-table.md) which only drops the table in the front end.                                         |
| [RENAME TABLE](/docs/server/reference/sql-statements/data-definition/rename-table.md)        | ColumnStore doesn't allow one to rename a table between databases.                                                                                                                                                                     |
| [CREATE TABLE](/docs/server/server-usage/tables/create-table.md)                             | ColumnStore doesn't need indexes, partitions and many other table and column options. See here for [ColumnStore Specific Syntax](/docs/analytics/mariadb-columnstore/reference/data-definition-statements/columnstore-create-table.md) |
| [CREATE INDEX](/docs/server/reference/sql-statements/data-definition/create/create-index.md) | ColumnStore doesn't need indexes. Hence an index many not be created on a table that is defined with engine=columnstore                                                                                                                |

<sub>*This page is: Copyright © 2025 MariaDB. All rights reserved.*</sub>

{% @marketo/form formId="4316" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mariadb.com/docs/analytics/mariadb-columnstore/reference/data-definition-statements/ddl-statements-that-differ-for-columnstore.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
