Mining GoldenGate Error Logs for Consumption Rates of Trail Files
After resolving Oracle GoldenGate issues, a question typically asked is, "When will the process catch up?" The usual method to find out is to use the lag command; however, I was more interested to see the rate of the trail file being consumed. One method to do this is to mine ggserr.log for the GoldenGate process, e.g. replicat.prm. From the data below, replicat is consuming trail at rate of ~7m per trail. Hence, if there are 10 more trails to process then it will take ~70m to complete.
grep "replicat.prm: Switching to next trail file" ggserr.log| tail 2019-11-14 14:50:20 replicat.prm: Switching to next trail file dirdat/aa000026334 2019-11-14 14:56:42 replicat.prm: Switching to next trail file dirdat/aa000026335 2019-11-14 15:02:43 replicat.prm: Switching to next trail file dirdat/aa000026336 2019-11-14 15:08:19 replicat.prm: Switching to next trail file dirdat/aa000026337 2019-11-14 15:17:42 replicat.prm: Switching to next trail file dirdat/aa000026338 2019-11-14 15:23:46 replicat.prm: Switching to next trail file dirdat/aa000026339FYI: I have removed some non-relavant columns to make the format cleaner. I didn't capture lag information for comparison. You can do this as a comparison for future issues. Hopefully, the information is useful for your next troubleshooting efforts.
Share this
You May Also Like
These Related Stories
How to mine an RMAN Log
How to mine an RMAN Log
Jun 24, 2019
3
min read
How to Find Clusterware Configuration Details Using srvctl
How to Find Clusterware Configuration Details Using srvctl
Oct 23, 2019
1
min read
How to Test Data Guard Fast-Start Failover by Shutting Down Primary Server
How to Test Data Guard Fast-Start Failover by Shutting Down Primary Server
Jan 20, 2020
9
min read
No Comments Yet
Let us know what you think