Overview
ob_event_history_recycle_interval specifies the interval for recycling historical events.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
Only the
systenant can modify this parameter. User tenants cannot modify it.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Time |
| Default Value | 7d indicates seven days. |
| Value range | [1d, 180d] |
| 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
Set the recycling interval for historical events to 7 days.
obclient> ALTER SYSTEM SET ob_event_history_recycle_interval = '7d';
References
View the event history of Root Service: DBA_OB_ROOTSERVICE_EVENT_HISTORY