【产品名称】
【产品版本】
【问题描述】
我看官方文档上描述max_cpu最小是1,max_memory最小是1g,为什么我在我的测试环境上竟然能够建出cpu:0.5、max memory=‘512M’来。
mysql> select * from oceanbase.__all_unit_config;
±---------------------------±---------------------------±---------------±----------------±--------±--------±-----------±-----------±---------±---------±--------------±--------------------+
| gmt_create | gmt_modified | unit_config_id | name | max_cpu | min_cpu | max_memory | min_memory | max_iops | min_iops | max_disk_size | max_session_num |
±---------------------------±---------------------------±---------------±----------------±--------±--------±-----------±-----------±---------±---------±--------------±--------------------+
| 2021-12-07 22:41:47.625912 | 2021-12-07 22:41:47.625912 | 1 | sys_unit_config | 5 | 2.5 | 1288490188 | 1073741824 | 10000 | 5000 | 5368709120 | 9223372036854775807 |
| 2021-12-07 22:42:12.744908 | 2021-12-07 22:42:12.744908 | 1001 | test | 9 | 9 | 2684354560 | 2684354560 | 10000 | 1280 | 5153960755 | 3000 |
| 2021-12-13 21:42:18.360295 | 2021-12-13 21:42:18.360295 | 1003 | myunit | 0.5 | 0.5 | 536870912 | 536870912 | 128 | 128 | 536870912 | 64 |
±---------------------------±---------------------------±---------------±----------------±--------±--------±-----------±-----------±---------±---------±--------------±--------------------+
3 rows in set (0.00 sec)