Note
This parameter is available starting with V1.4.
Description
plan_cache_evict_interval specifies the eviction interval of the execution plan cache.
Privilege requirements
Query the parameter
You can use the
SHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter in thesystenant and all user tenants.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Time |
| Default value | 5s
NoteFor V4.2.0, the default value of this parameter is changed from 1s to 5s. |
| Value range | [0s, +∞) |
| 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
Set the eviction interval of the execution plan cache to 5s.
obclient> ALTER SYSTEM SET plan_cache_evict_interval ='5s';