创建资源单元报错

【 使用环境 】测试环境
【 OB or 其他组件 】
【 使用版本 】4.0
【问题描述】清晰明确描述问题
【复现路径】问题出现前后相关操作
【问题现象及影响】
obclient [oceanbase]> create resource unit lxs_unit max_cpu=1, max_memory=‘1g’, max_iops=1000, max_disk_size=‘10g’, max_session_num=10000, min_cpu=1, min_memory=‘1g’, min_iops=1000;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your OceanBase version for the right syntax to use near ‘max_memory=‘1g’, max_iops=1000, max_disk_size=‘10g’, max_session_num=10000, min_’ at line 1

【附件】

https://www.oceanbase.com/docs/common-oceanbase-database-cn-10000000001578372 4.0调整了资源单元创建的语法

1 个赞

感谢君野老师的回复!