Professional Documents
Culture Documents
anywhere…anytime
Here is scenario where trail files were missing on target when Integrated Replicat was processing so
recovery involved identifying last source CSN when replicat was hung or abended while processing due
to trail missing on target and using lodump lets dig extract trail to find the corresponding transaction in
source OGG trails and then reposition pump to write to remote trail.
Checking the status of Replicat which was hung as remote trail being read was
missing.
MANAGER RUNNING
JAGENT RUNNING
REPLICAT RUNNING REP1 00:15:01 00:01:38
REPLICAT RUNNING REP2 00:00:03 00:00:02
https://raviarra.wordpress.com/2015/09/04/integrated-replicat-abends-as-trail-files-were-missing/ 1/13
5/9/23, 10:26 AM Integrated Replicat abends as trail files were missing | Page On-Call DBA
NOTE: Since remote trails from 25 are missing on target lets re-point the Pump
based on the CSN value.
Identifying LOG_CSN until which replicat Replicat has processed the transactions.
Note: We use applied_low_position SCN value ato search local trail that has this
SCN information.
https://raviarra.wordpress.com/2015/09/04/integrated-replicat-abends-as-trail-files-were-missing/ 2/13
5/9/23, 10:26 AM Integrated Replicat abends as trail files were missing | Page On-Call DBA
Using LOGDUMP utility find local trail containing the LOG_CSN value.The below
logdump process involves locating the replicat log_csn from the source local trail.
GGSTOKEN DETAIL will display log_csn info and using FILTER LOGCSN to search the
record with this CSN value in trail file.
https://raviarra.wordpress.com/2015/09/04/integrated-replicat-abends-as-trail-files-were-missing/ 3/13
5/9/23, 10:26 AM Integrated Replicat abends as trail files were missing | Page On-Call DBA
GGS tokens:
TokenID x52 'R' ORAROWID Info x00 Length 20
https://raviarra.wordpress.com/2015/09/04/integrated-replicat-abends-as-trail-files-were-missing/ 9/13
5/9/23, 10:26 AM Integrated Replicat abends as trail files were missing | Page On-Call DBA
4141 416d 544e 4141 4541 4141 436e 7941 4276 0001 | AAAmTNAAEAAACnyABv..
TokenID x4c 'L' LOGCSN Info x00 Length 13
3835 3432 3730 3036 3938 3933 30 | 8542700698930
TokenID x36 '6' TRANID Info x00 Length 10
372e 382e 3130 3831 3138 | 7.8.108118
TokenID x69 'i' ORATHREADID Info x01 Length 2
0001 | ..
https://raviarra.wordpress.com/2015/09/04/integrated-replicat-abends-as-trail-files-were-missing/ 10/13
5/9/23, 10:26 AM Integrated Replicat abends as trail files were missing | Page On-Call DBA
NOTE: We can start from RBA 0 as Integarted Replicat will automatically filter out
transactions already done so there is no need to locate the RBA for the SCN record.
https://raviarra.wordpress.com/2015/09/04/integrated-replicat-abends-as-trail-files-were-missing/ 11/13
5/9/23, 10:26 AM Integrated Replicat abends as trail files were missing | Page On-Call DBA
NOTE: This is the CSN value based on which on which we filtered local trail.
Checking if all the trail files are applied without any issues.
https://raviarra.wordpress.com/2015/09/04/integrated-replicat-abends-as-trail-files-were-missing/ 12/13
5/9/23, 10:26 AM Integrated Replicat abends as trail files were missing | Page On-Call DBA
From the above case we have recovered the trail files until the point where replicat processed last and
once recovered these were applied without compromising data integrity.
Posted in Uncategorized on September 4, 2015 by Ravi Arra. Leave a comment
BLOG AT WORDPRESS.COM.
https://raviarra.wordpress.com/2015/09/04/integrated-replicat-abends-as-trail-files-were-missing/ 13/13