【产品名称】社区版OceanBase
【产品版本】3.1.1
【问题描述】3副本OB集群,其中一个节点停机维护(维护时长3-5小时),读写访问正常。但在创建新表的时候提示资源不足,报错信息为 “”machine resource is not enough to hold a new unit” 麻烦工程师给看看如何解决。谢谢!
【产品名称】社区版OceanBase
【产品版本】3.1.1
【问题描述】3副本OB集群,其中一个节点停机维护(维护时长3-5小时),读写访问正常。但在创建新表的时候提示资源不足,报错信息为 “”machine resource is not enough to hold a new unit” 麻烦工程师给看看如何解决。谢谢!
set global ob_create_table_strict_mode=0;
可以参考一下:
https://open.oceanbase.com/docs/knowledgeBase/failed-to-create-table-error-code-4624
感谢工程司问题已解决:
MySQL [oceanbase]>show variables like 'ob_create_table_strict_mode';
默认ob_create_table_strict_mode = ON 改为OFF也可以 。
MySQL [oceanbase]>set global ob_create_table_strict_mode=OFF;
如果是终端需要退出重新登录,如果使用的客户端工具如 navicat 或者DBeaver 要断开重连才可以使配置生效!