When you configure the vacuumer, you also specify a schedule on which it runs. The schedule can contain multiple start times and durations.
-
The start time, which is in UTC (Coordinated Universal Time or Greenwich Mean Time), specifies when the vacuumer should run.
-
The duration specifies how long the vacuumer should run. The default duration is six hours, or until the next start time.
Important: |
|---|
|
There is no default data removal schedule. If you do not specify a data removal schedule, Notification Services will not remove old data from the application database.
|
The vacuumer checks once per minute to see if it should run. This can lead to a variation of up to a minute between the specified start time and the actual start time.
Each time the vacuumer completes a unit of work, it checks the system clock to see if it has exceeded the duration. It also checks the database to see if its associated application has been disabled. If either of these events has occurred, the vacuumer stops, logs a message in the event log, and sleeps until the next scheduled vacuuming interval.
When determining the vacuuming schedule, it is best to pick low-usage times for the application and the database server. If there are no low-usage times, you might want to run the data removal process more frequently so that less data is removed during each vacuuming period, which can minimize the impact on application performance.
To configure the data removal process
If you are defining an application through XML, configure data removal in the application definition file (ADF). If you are defining an application programmatically, use Notification Services Management Objects (NMO) to configure data removal.