Note
For V4.3.x, this parameter is available starting with V4.3.5 BP4.
Description
result_cache_max_size specifies the maximum memory size 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 the
result cachemodule.obclient> ALTER SYSTEM SET result_cache_max_size='0B';Set the maximum memory size of the
result cachemodule to 64M.obclient> ALTER SYSTEM SET result_cache_max_size='64M';