Configuration of the data purger

After editing the data purger configuration files, restart the purger service for your changes to take effect.

After editing the data purger service configuration file (purger_service.xml), restart the purger service and EGO on the master host for your changes to take effect.


Action

Configuration files

Parameter and syntax

Specify the default duration of time that the records are stored in the database before being purged.

purger configuration files:

  • purger_ego.xml (EGO)

  • purger_soam.xml (Symphony)

File location: EGO_TOP/perf/conf/purger

<TableList Duration="expiry_time">

where

  • expiry_time is the expiry time, in days, up to a maximum of 31 days

This default expiry time applies to all tables, but may be overridden for individual tables by specifying a record expiry time for that table.

Specify the duration of time that the records in a specific table are stored in the database before being purged.

<Table TableName="table_name" ... Duration="expiry_time">

where

  • table_name is the name of the individual table

  • expiry_time is the expiry time, in days, up to a maximum of 31 days

This expiry time overrides the default expiry time for all records as specified in the <TableList> element.

Disable archiving of old data from a specific table before being purged. This is the default behavior.

<Table TableName="table_name" ... Archive="false">

where

  • table_name is the name of the individual table

Enable archiving of old data from a specific table before being purged.

<Table TableName="table_name" ... Archive="true">

where

  • table_name is the name of the individual table

Specify the daily time in which the data purger purges old data.

purger_service.xml

File location: EGO_TOP/eservice/esc/conf/services

<ego:Command>... file_path/purger... ‑t purge_time

where

  • purge_time is the 24-hour daily time, in hh:mm format.

Specify the time interval in which the data purger purges old data, starting from when the purger service first starts up.

<ego:Command>... file_path/purger... ‑t *[purge_time_interval]

where

  • purge_time_interval is the time interval, in hours.

Enable automatic startup of the purger service. This is the default behavior.

<sc:StartType>AUTOMATIC</sc:StartType>

Disable automatic startup of the purger service.

<sc:StartType>MANUAL</sc:StartType>

Specify the default log level of your purger log file.

log4j.properties

File location: EGO_TOP/perf/conf

log4j.logger.domain_name.perf.purger=log_level, domain_name.perf.purger

where

  • log_level is the default log level of your data purger log files.

The data purger only logs messages of the same or lower level of detail as log_level. Therefore, if you change the log level to ERROR, the data purger will only log ERROR and FATAL messages.