阅读(2552) (12)

OceanBase DROP TABLESPACE

2021-06-24 17:43:33 更新

描述

该语句用来删除 TableSpace 逻辑对象,仅在 TableSpace下没有表时可以删除成功。

格式

DROP TABLESPACE tablespace_name;

参数解释

参数

描述

tablespace_name

指定要删除的 TableSpace 名称

示例

  • 删除 TableSpace 对象 ts
OceanBase(root@oceanbase)>drop tablesapce ts;