GreatDB数据库DDL执行问题失败如何处理?

GreatDB数据库DDL执行问题失败如何处理?GreatDB数据库DDL执行问题失败如何处理?

1. create/drop table 或 create/drop schema 或 create/drop 存储过程/视图。对于这类语句,执行加上 if exists 或 if not exists 。例如 drop table if exists t1 。
2. 修改表定义,例如加索引、加列、修改列类型等。如果执行失败可以使用如下命令检查后端哪些节点执行成功以及哪些节点执行失败: dbscale check table 表名 。