4.6.2.3 Purging the GoldenGate Trail Files

The trail files are not needed once the replicat has finished processing them. You can purge the trail files to save disk space.

The default settings are as follows: PURGEOLDEXTRACTS /location-of-trail-files MINKEEPHOURS 1, FREQUENCYMINUTES 10.

The trail files, after being processed completely by the replicat process, and after one hour of inactivity, will be purged. The files will be checked for purging every 10 minutes.

You can modify the above rule, in an OCI GGSA VM, following the steps below:
  1. Stop the manager process by running the command sudo systemctl stop ggbd-mgr.
  2. Modify the rules in the file /u01/app/ggbd/OGG_BigData_Linux_x64_19.1.0.0.0/dirprm/mgr.prm.
  3. Start the manager process by running the command sudo systemctl start ggbd-mgr.

For more information on rules about purging the trail files, see PURGEOLDEXTRACTS for Manager.