Note
For V4.3.x, this parameter is available starting with V4.3.5 BP4.
Description
result_cache_max_result specifies the maximum percentage of memory that can be used by a single result cache object, relative to the result_cache_max_size parameter.
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
The
systenant and user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Int |
| Default value | 5 |
| Value range | [0,100] |
| 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. |
Examples
Run the following command to set the maximum percentage of memory that can be used by a single result cache object to 10% of the result_cache_max_size parameter.
obclient> ALTER SYSTEM SET result_cache_max_result=10;