Overview
ob_deterministic_udf_cache_max_size specifies the maximum total memory size (in bytes) that can be used by the cache pool for all deterministic UDFs during statement execution.
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 | 16M |
| Value range | [0,+∞)
NoteIf the value is 0, the execution cache feature is disabled. |
| 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
Run the following command to disable the execution cache feature.
obclient> ALTER SYSTEM SET ob_deterministic_udf_cache_max_size='0B';Run the following command to set the maximum memory size that the cache pool can use to 16 MB.
obclient> ALTER SYSTEM SET ob_deterministic_udf_cache_max_size='16M';