Sometimes we see huge lag in our goldengate configuration that is because there are pending long running transaction at the target side, lets see how we can monitor the replicat status in the target system
GGSCI (node2.example.com) 27> send replicat rep1 status
Sending STATUS request to REPLICAT REP1 ...
Current status: Processing data
Sequence #: 22
RBA: 9315748
87049 records in current transaction
GGSCI (node2.example.com) 28> send replicat rep1 status
Sending STATUS request to REPLICAT REP1 ...
Current status: Processing data
Sequence #: 22
RBA: 10275752
96021 records in current transaction
GGSCI (node2.example.com) 31> dblogin useridlias ogg
Password:
ERROR: Unrecognized parameter (USERIDLIAS), expected USERID/USERIDALIAS.
GGSCI (node2.example.com) 32> dblogin useridalias ogg
Successfully logged into database.
GGSCI (node2.example.com as ggadmin@east) 33> info replicat rep1, detail
REPLICAT REP1 Last Started 2020-03-28 14:28 Status RUNNING
Checkpoint Lag 00:00:00 (updated 00:02:28 ago)
Process ID 7179
Log Read Checkpoint File /u01/app/oracle/product/12.1.2/ggate/dirdat/rt000020
First Record RBA 55224002
Current Log BSN value: 1877190
Last Committed Transaction CSN value: 1897958
Extract Source Begin End
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000020 2020-03-28 13:33 First Record
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000020 2020-03-24 23:48 2020-03-28 13:33
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000018 2020-03-13 23:07 2020-03-24 23:48
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000016 2020-03-13 23:07 First Record
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000016 2019-11-22 13:10 2020-03-13 23:07
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000010 * Initialized * 2019-11-22 13:10
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000010 * Initialized * First Record
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000009 2019-11-14 22:52 2019-11-22 12:53
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000002 2019-11-14 22:49 2019-11-14 22:52
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000002 2019-11-14 22:49 First Record
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000002 * Initialized * 2019-11-14 22:49
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000000 * Initialized * First Record
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000000 * Initialized * First Record
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000000 * Initialized * First Record
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000000 * Initialized * First Record
Current directory /u01/app/oracle/product/12.1.2/ggate
Report file /u01/app/oracle/product/12.1.2/ggate/dirrpt/REP1.rpt
Parameter file /u01/app/oracle/product/12.1.2/ggate/dirprm/rep1.prm
Checkpoint file /u01/app/oracle/product/12.1.2/ggate/dirchk/REP1.cpr
Checkpoint table ggadmin.ckpt
Process file /u01/app/oracle/product/12.1.2/ggate/dirpcs/REP1.pcr
Error log /u01/app/oracle/product/12.1.2/ggate/ggserr.log
GGSCI (node2.example.com) 27> send replicat rep1 status
Sending STATUS request to REPLICAT REP1 ...
Current status: Processing data
Sequence #: 22
RBA: 9315748
87049 records in current transaction
GGSCI (node2.example.com) 28> send replicat rep1 status
Sending STATUS request to REPLICAT REP1 ...
Current status: Processing data
Sequence #: 22
RBA: 10275752
96021 records in current transaction
GGSCI (node2.example.com) 31> dblogin useridlias ogg
Password:
ERROR: Unrecognized parameter (USERIDLIAS), expected USERID/USERIDALIAS.
GGSCI (node2.example.com) 32> dblogin useridalias ogg
Successfully logged into database.
GGSCI (node2.example.com as ggadmin@east) 33> info replicat rep1, detail
REPLICAT REP1 Last Started 2020-03-28 14:28 Status RUNNING
Checkpoint Lag 00:00:00 (updated 00:02:28 ago)
Process ID 7179
Log Read Checkpoint File /u01/app/oracle/product/12.1.2/ggate/dirdat/rt000020
First Record RBA 55224002
Current Log BSN value: 1877190
Last Committed Transaction CSN value: 1897958
Extract Source Begin End
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000020 2020-03-28 13:33 First Record
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000020 2020-03-24 23:48 2020-03-28 13:33
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000018 2020-03-13 23:07 2020-03-24 23:48
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000016 2020-03-13 23:07 First Record
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000016 2019-11-22 13:10 2020-03-13 23:07
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000010 * Initialized * 2019-11-22 13:10
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000010 * Initialized * First Record
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000009 2019-11-14 22:52 2019-11-22 12:53
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000002 2019-11-14 22:49 2019-11-14 22:52
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000002 2019-11-14 22:49 First Record
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000002 * Initialized * 2019-11-14 22:49
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000000 * Initialized * First Record
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000000 * Initialized * First Record
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000000 * Initialized * First Record
/u01/app/oracle/product/12.1.2/ggate/dirdat/rt000000 * Initialized * First Record
Current directory /u01/app/oracle/product/12.1.2/ggate
Report file /u01/app/oracle/product/12.1.2/ggate/dirrpt/REP1.rpt
Parameter file /u01/app/oracle/product/12.1.2/ggate/dirprm/rep1.prm
Checkpoint file /u01/app/oracle/product/12.1.2/ggate/dirchk/REP1.cpr
Checkpoint table ggadmin.ckpt
Process file /u01/app/oracle/product/12.1.2/ggate/dirpcs/REP1.pcr
Error log /u01/app/oracle/product/12.1.2/ggate/ggserr.log
No comments:
Post a Comment