Purpose
You can use this statement to modify the configuration of a resource pool for a tenant.
Syntax
ALTER RESOURCE TENANT tenant_name UNIT_NUM [=] unit_num;
Parameters
| Parameter | Description |
|---|---|
| tenant_name | The name of the tenant for which you want to modify the configuration. |
| UNIT_NUM [=] unitnum[] | The number of units in all resource pools of the tenant after the modification, which must be less than or equal to the number of OBServer nodes in the zone. |
Examples
Change the number of units in all resource pools of tenant1 to 3.
obclient> ALTER RESOURCE TENANT tenant1 UNITNUM = 3;
Query OK, 0 rows affected