In golden gate we have usually face the problem for lag could be generated based from source side and network side and target side.
1.source side lag it's from extract lag
2.source side lag because of network issue/slow
3.target side lag or replicat lag
Here is the method to find out the lag in golden gate from replicat side.
GGSCI (server_name) 1> send replicat REP3,getlag
Sending GETLAG request to REPLICAT LHGRP3 ...
At EOF, no more records to process.
GGSCI (server_name) 3> lag REPLICAT RP3
Sending GETLAG request to REPLICAT LHGRP3 ...
At EOF, no more records to process
1.source side lag it's from extract lag
2.source side lag because of network issue/slow
3.target side lag or replicat lag
Here is the method to find out the lag in golden gate from replicat side.
GGSCI (server_name) 1> send replicat REP3,getlag
Sending GETLAG request to REPLICAT LHGRP3 ...
At EOF, no more records to process.
GGSCI (server_name) 3> lag REPLICAT RP3
Sending GETLAG request to REPLICAT LHGRP3 ...
At EOF, no more records to process