OGG Manager could not purge old trail file

OGG Manager could not purge old trail file

Symptom:
manager could not purge old trail files while not extract or replicat is existing in this ogg, because this ogg is only receiving trail from source and cascade data to target.
GGSCI (OGGVM01) 2> edit param mgr
PURGEOLDEXTRACTS /u01/app/ogg/dirdat/DD*, USECHECKPOINTS, MINKEEPDAYS 30

Solution:
GGSCI (OGGVM01) 2> edit param mgr

PURGEOLDEXTRACTS /u01/app/ogg/dirdat/DD*, NOUSECHECKPOINTS, MINKEEPDAYS 30

[oracle@OGGVM01 ogg]$ vi ggserr.log
2020-08-14T11:20:15.932+0000 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): start mgr.
2020-08-14T11:20:24.623+0000 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): info all.
2020-08-14T11:20:26.339+0000 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): start mgr.
2020-08-14T11:20:28.180+0000 WARNING OGG-01877 Oracle GoldenGate Manager for Oracle, MGR.prm: Missing explicit accessrule for server collector.
2020-08-14T11:20:28.180+0000 INFO OGG-00983 Oracle GoldenGate Manager for Oracle, MGR.prm: Manager started (port 7609).
2020-08-14T11:20:28.264+0000 INFO OGG-00957 Oracle GoldenGate Manager for Oracle, MGR.prm: Purged old extract file ‘/u01/app/ogg/dirdat/DD000000000’, applying MinKeepHours purge rule: 2589 >= 720.
2020-08-14T11:20:28.264+0000 INFO OGG-00957 Oracle GoldenGate Manager for Oracle, MGR.prm: Purged old extract file ‘/u01/app/ogg/dirdat/DD000000001’, applying MinKeepHours purge rule: 2589 >= 720.
…………..
2020-08-14T11:20:28.557+0000 INFO OGG-00957 Oracle GoldenGate Manager for Oracle, MGR.prm: Purged old extract file ‘/u01/app/ogg/dirdat/DD000000576’, applying MinKeepHours purge rule: 723 >= 720.
2020-08-14T11:20:28.557+0000 INFO OGG-00957 Oracle GoldenGate Manager for Oracle, MGR.prm: Purged old extract file ‘/u01/app/ogg/dirdat/DD000000577’, applying MinKeepHours purge rule: 720 >= 720.

Leave a Reply

Your email address will not be published. Required fields are marked *