Managing scheduled instance data purging and archiving

You can purge instance data from the monitor database and archive it to a directory on your IBM® Business Monitor server. Use the data services scheduler on the WebSphere® Application Server administrative console to schedule purging and archiving instance data.

You can purge and archive instance data as a one-time action on the model version page on the administrative console or as a scheduled service within the administrative console section, Monitor Scheduled Services. By default, the instance data purging and archiving service is suspended, meaning that all instance history is preserved.

Periodically, you might want to purge old terminated instances to improve system performance, or to focus monitoring on more recent or in-progress instances. Terminated instances can be purged based on a configurable duration since the instance termination time.

When instances are purged, you can optionally archive those instances to a CSV file on the IBM Business Monitor server's file system. Each archival can be appended to the same CSV file or use a new CSV file. Additionally, you can set the maximum size of the CSV file to avoid extremely large files. After the maximum file size is reached, a new CSV file is created.

To access Monitor Scheduled Services on the WebSphere Application Server administrative console, click Applications > Monitor Services > Monitor Scheduled Services.

To manage scheduled purging and archiving instance data on the administrative console, click Applications > Monitor Services > Monitor Scheduled Services > model_name > Scheduled Services > Purge and Archive Instance Data.

For instructions on changing the interval and start time for a service, refer to Changing the scheduled service interval and start time. A link is provided below.

For instructions on purging and archiving instance data on a one-time basis, refer to Managing instance data.