Note
This parameter is available starting with V1.4.
Description
memory_limit_percentage specifies the percentage of the total memory size that is available for the OBServer node.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Int |
| Default value | 80 |
| Value range | [10, 95]
NoteThis parameter is available starting with V4.2.1. The value range is [10, 95] in V4.2.1 and later. |
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Considerations
If the value of memory_limit is not 0, the system ignores the setting of memory_limit_percentage and uses the value of memory_limit instead. For more information about memory_limit, see memory_limit.
Examples
Set the total available memory size of the OBServer node to 80% of the total memory size.
obclient> ALTER SYSTEM SET memory_limit_percentage='80';