Note
For V4.3.x, this parameter is available starting with V4.3.5 BP4.
Description
result_cache_max_size specifies the maximum memory that can be used by the result cache module.
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 | Capacity |
| Default value | 64M |
| Value range | [0,+∞) |
| 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
Disable
result cache.obclient> ALTER SYSTEM SET result_cache_max_size='0B';Set the maximum memory that can be used by
result cacheto 64M.obclient> ALTER SYSTEM SET result_cache_max_size='64M';