Event repository cleanup parameters
Event Repository cleanup parameters
Parameter | Description | Type |
---|---|---|
| When the EventAutoClose value is set to Yes, it automatically closes a duplicate event in the database when an event arrives with If the value is set to | Boolean |
| Maximum duration, in seconds, of a single cleanup. | Number |
| Time interval, in seconds, between periodic cleanups of the repository. | Number |
| Percentage of free space required at termination of an | Number |
| Indicates the preference for deleting events from the repository based on when they were received instead of when they were last modified. | Boolean |
| Indicates the preference for cleaning up closed events rather than earlier events. | Boolean |
| Minimum age of closed events before they are removed from the repository. The default is | Number |
| Minimum age of non-closed events before they are removed from the repository. The default is | Number |
| Number of events to retain in the repository (the mcdb and xact files located in the installationDirectory/pw/server/var/ CellName directory path). | Number |
| List of classes in which closed events are not deleted from the repository. Note Any modifications to the | String |
| List of classes in which open events are not deleted from the repository; comma separated. Note Any modifications to the | Boolean |
Event cleanup process
The related group of event cleanup parameters gives you control over which events are removed, limits the duration of the cleanup, and specifies a preference for cleaning up closed events rather than earlier events.
A cleanup first removes expired events. Expired events are those that are earlier than the times in the EventDBKeepClosed
and EventDBKeepNonClosed
parameters, for closed and non-closed events. After this cleanup, if there is still less free space than specified in the EventDBCleanupPercentage
parameter, additional, unexpired events are removed. As many events are removed as needed to reach the desired amount of free space.
Older events are removed first, with one possible exception. If parameter EventDBCleanupPreferClosed=Yes
, closed events are removed first, even if some earlier unclosed events remain. In EventDBCleanupPreferClosed=No
mode, all events are considered, starting with the oldest first.
The mc_date_modification
slot is considered to determine the time of an event. However, if parameter EventDBCleanupOnDateReception=Yes
, the date_reception
slot is considered instead.
Cleanup is interrupted if it takes longer than the value of the EventDBCleanupDurationLimit
parameter. By default, this value is 10 seconds. If the cleanup period was not long enough to remove all expired events, a new cleanup is scheduled for a later time with the same amount of time as the duration limit. If all expired events were removed, the next cleanup is scheduled after the normal interval value of EventDBCleanupInterval
.
Comments
What are the units for EventDBKeepClosed and EventDBKeepNonClosed ?
It appears that these are actually strings, and accept values like "1d" and "30d" This page should be updated to reflect this as well as default values.
Log in or register to comment.