21.4.12 ndb_drop_table —删除 NDBtable
ndb_drop_table删除指定的NDBtable。 (如果尝试在使用NDB以外的其他存储引擎创建的 table 上使用此方法,则尝试将失败,并显示错误 723:不存在此类 table。)此操作非常快;在某些情况下,它可能比在NDBtable 上使用 MySQL DROP TABLE语句快一个数量级。
Usage
ndb_drop_table -c connection_string tbl_name -d db_name
下 table 包含特定于ndb_drop_table的选项。附加说明如下 table 所示。有关大多数 NDB 群集程序(包括ndb_drop_table)共有的选项,请参见第 21.4.32 节“ NDB 群集程序的公用选项-NDB 群集程序的公用选项”。
table21.248 ndb_drop_table 程序的命令行选项
Format | Description | 添加,不建议使用或删除 |
---|---|---|
--database=dbname , | ||
-d | 在其中找到 table 的数据库名称 | (在所有基于 MySQL 5.7 的版本中受支持) |