语句如下:

    1. create_resource_unit_stmt:
    2. CREATE RESOURCE UNIT unit_name
    3. unit_option_list;
    4. alter_resource_unit_stmt:
    5. ALTER RESOURCE UNIT unit_name
    6. unit_option_list;
    7. drop_resource_unit_stmt:
    8. DROP RESOURCE UNIT unit_name;
    9. create_resource_pool_stmt:
    10. CREATE RESOURCE POOL pool_name
    11. pool_option_list;
    12. alter_resource_pool_stmt:
    13. ALTER RESOURCE POOL pool_name
    14. pool_option;
    15. drop_resource_pool_stmt:
    16. DROP RESOURCE POOL pool_name;
    17. unit_option_list:
    18. unit_option [, unit_option ...]
    19. unit_option:
    20. MAX_CPU [=] {INT_VALUE | DECIMAL_VALUE},
    21. | MAX_MEMORY [=] STORAGE_SIZE,
    22. | MAX_IOPS [=] INT_VALUE,
    23. | MAX_DISK_SIZE [=] STORAGE_SIZE,
    24. | MAX_SESSION_NUM [=] INT_VALUE
    25. | MIN_CPU [=] {INT_VALUE | DECIMAL_VALUE}
    26. | MIN_MEMORY [=] STORAGE_SIZE
    27. | MIN_IOPS [=] INT_VALUE
    28. pool_option_list:
    29. pool_option [, pool_option ...]
    30. pool_option:
    31. UNIT [=] unit_name
    32. | UNIT_NUM [=] INT_VALUE
    33. | ZONE_LIST [=] zone_list