Managing Ensemble
Purging Production Data
[Back] [Next]
   
Server:docs2
Instance:LATEST
User:UnknownUser
 
-
Go to:
Search:    

The [Ensemble] > [Purge Management Data] page allows you to delete outdated entries from the Event Log, message warehouse, business process log, business rule log, and I/O archive log. You can only purge entries associated with the active namespace. To navigate to this page, click Ensemble, click Manage, click Purge Management Data, and then click Go.

This chapter contains the following topics:
First-time Purges
The activity of purging generates extra journaling, especially if you purge a large volume of data, and this journaling can consume a large amount of disk space. For performance reasons, you might adopt the following approach when you first purge management data:
  1. Start by setting the purge parameters so that a relatively small amount of data is purged.
    As discussed in the next section you use the option Do not purge most recent to specify how many days’ worth of records to keep. Set this to a relatively large number.
  2. Perform the purge.
  3. Gradually decrease the number of days of data to keep until Do not purge most recent is set as desired.
Purging Data Manually
Typically you purge data manually during development and testing. (In contrast, for a live system, you typically purge data on a periodic basis, as described in the next section.)
To purge data manually, use the [Ensemble] > [Purge Management Data] page. This page displays the following information:
Purge Criteria
Beneath the table is a box to enter your purge criteria and the command to perform the purge.
At the bottom of the Purge Criteria box is the Start Purge command. If you click it, Ensemble immediately purges the persistent store according to the parameters you have entered. The page uses a background job to do purges, and reports the results of the last-run purge, including a status code, or a notice if the background job is running or has failed to run. When the purge completes, the Deleted column contains the number of records purged for each type. If a purge is currently executing in the namespace, the Start Purge command is inactive.
Caution:
You cannot undo the Start Purge operation.
Purging Data Periodically
For a live system, you typically purge data on a periodic basis. To do so
  1. Click System Operation, click Task Manager, and then click New Task.
  2. For Task name, enter a task name.
  3. For Namespace to run task in, select the applicable namespace.
  4. When you select this class, the page updates to display configurable information for this task.
  5. Specify the following options:
  6. Specify other options as needed. For details, see Using the Task Manager in the chapter “Managing Caché” in the Caché System Administration Guide.
  7. Complete the wizard as described in the previously referenced section.