语句如下:
create_resource_unit_stmt:
CREATE RESOURCE UNIT unit_name
unit_option_list;
alter_resource_unit_stmt:
ALTER RESOURCE UNIT unit_name
unit_option_list;
drop_resource_unit_stmt:
DROP RESOURCE UNIT unit_name;
create_resource_pool_stmt:
CREATE RESOURCE POOL pool_name
pool_option_list;
alter_resource_pool_stmt:
ALTER RESOURCE POOL pool_name
pool_option;
drop_resource_pool_stmt:
DROP RESOURCE POOL pool_name;
unit_option_list:
unit_option [, unit_option ...]
unit_option:
MAX_CPU [=] {INT_VALUE | DECIMAL_VALUE},
| MAX_MEMORY [=] STORAGE_SIZE,
| MAX_IOPS [=] INT_VALUE,
| MAX_DISK_SIZE [=] STORAGE_SIZE,
| MAX_SESSION_NUM [=] INT_VALUE
| MIN_CPU [=] {INT_VALUE | DECIMAL_VALUE}
| MIN_MEMORY [=] STORAGE_SIZE
| MIN_IOPS [=] INT_VALUE
pool_option_list:
pool_option [, pool_option ...]
pool_option:
UNIT [=] unit_name
| UNIT_NUM [=] INT_VALUE
| ZONE_LIST [=] zone_list