Overview
result_cache_max_size specifies the maximum memory size that the result cache module can use.
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 | Capacity |
| Default Value | 64M |
| Value range | [0,+∞) |
| 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
Disable
result cache.obclient> ALTER SYSTEM SET result_cache_max_size='0B';Set
result cacheto a maximum of 64 MB.obclient> ALTER SYSTEM SET result_cache_max_size='64M';