The DBMS_OB_LIMIT_CALCULATOR system package is used to obtain the current resource usage information of the cluster and plan operations such as scaling, node replacement, and standby tenant creation based on this information.
Notice
This system package can only be used in the SYS tenant.
Overview of subprograms of DBMS_OB_LIMIT_CALCULATOR
The following table lists the DBMS_OB_LIMIT_CALCULATOR subprograms supported in the current version of OceanBase Database and their brief descriptions.
| Subprogram | Description |
|---|---|
| CALCULATE_MIN_PHY_RES_NEEDED_BY_UNIT | You can specify a tenant and a node to calculate the minimum physical resources required for the node. |
| CALCULATE_MIN_PHY_RES_NEEDED_BY_LOGIC_RES | You can specify the type and quantity of logical resources required for a tenant to calculate the physical resources required to accommodate these logical resources. |
| CALCULATE_MIN_PHY_RES_NEEDED_BY_STANBY_TENANT | You can specify the primary tenant and the number of standby tenants to be created to calculate the physical resources required for each standby tenant. |
