Note
This parameter is available starting with V2.2.77.
Description
ob_event_history_recycle_interval specifies the recycle interval of historical events.
Privilege requirements
Query the parameter
The
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
Only the
systenant can modify this parameter. 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 of historical events to 7d.
obclient> ALTER SYSTEM SET ob_event_history_recycle_interval = '7d';
References
Query the event history information of the Root Service: DBA_OB_ROOTSERVICE_EVENT_HISTORY