Note
For V2.2.77, this parameter is available starting with V2.2.77.
Description
ob_event_history_recycle_interval specifies the recycle interval for historical events.
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
You can modify this parameter only in the
systenant. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Parameter type | Time |
| Default value | 7d, which indicates 7 days |
| Value range | [1d, 180d] |
| 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 recycle interval for historical events to 7 days.
obclient> ALTER SYSTEM SET ob_event_history_recycle_interval = '7d';
References
Query Root Service event history information: DBA_OB_ROOTSERVICE_EVENT_HISTORY