Overview
rpc_memory_limit_percentage specifies the maximum percentage of memory for RPCs in a tenant relative to the total memory of the tenant.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
Both the
systenant and user tenants can modify this parameter.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Int |
| Default Value | 0 indicates that there is no limit on RPC memory. |
| Value range | [0,100] |
| Modifiable | Yes, you can use theALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No, the setting takes effect immediately. |
Configuration example
Set the maximum memory for RPCs in a tenant as 10% of the total tenant memory.
obclient> ALTER SYSTEM SET rpc_memory_limit_percentage=10;