No active extraction maps – Golden Gate STATS command, what’s that ?
Posted by FatDBA on April 8, 2018
Hey Mates,
Not sure if you guys have ever encountered a situation where you’ve got a return message “No active extraction maps” from Golden Gate STATS command against your Golden Gate process.
For GG newcomers, STATS command is used to display statistics for one or more Extract,Pump/Replicat groups and the output includes DML and DDL operations that are included in the Oracle GoldenGate configuration.
Now coming back to the error scenario. Let’s see where we got that message and what does that means.
GGSCI (rac1.localdomain as ggadmin1@dixitdb1) 20> info all Program Status Group Lag at Chkpt Time Since Chkpt MANAGER RUNNING EXTRACT RUNNING GGTUNEX1 00:00:03 00:00:08 EXTRACT RUNNING GGTUNPU1 00:00:00 00:00:01 REPLICAT RUNNING GGTUNRP1 00:00:00 00:00:03
Now when i tried to check statistics for my processes, we’ve got a message which says that there are “No active extraction maps”
GGSCI (rac1.localdomain as ggadmin1@dixitdb1) 18> stats GGTUNPU1 Sending STATS request to EXTRACT GGTUNPU1 ... No active extraction maps. GGSCI (rac1.localdomain as ggadmin1@dixitdb1) 22> stats GGTUNPU1 Sending STATS request to EXTRACT GGTUNPU1 ... No active extraction maps.
So what does that means ??
The message that is displayed indicates that nothing has been processed in the extract or replicat. Once data for the tables in the extract and replicat are processed (captured from or applied to DB) the STATS command produces processing statistics.
Let me try to do some manipulations at the source table which is part of replication and see if this brings something to STATS results.
SQL> update emp set ENAME='KARTIKEY' where EMPNO=8090; 1 row updated. SQL> commit; Commit complete.
Let’s try now.
GGSCI (rac1.localdomain as ggadmin1@dixitdb1) 43> stats GGTUNEX1 Sending STATS request to EXTRACT GGTUNEX1 ... Start of Statistics at 2018-04-05 04:03:08. Output to /acfsmounts/acfsggv1/ggdir/dirdat/s1: Extracting from SCOTT.EMP to SCOTT.EMP: *** Total statistics since 2018-04-05 03:59:38 *** Total inserts 0.00 Total updates 1.00 Total deletes 0.00 Total discards 0.00 Total operations 1.00 *** Daily statistics since 2018-04-05 03:59:38 *** Total inserts 0.00 Total updates 1.00 Total deletes 0.00 Total discards 0.00 Total operations 1.00 *** Hourly statistics since 2018-04-05 03:59:38 *** Total inserts 0.00 Total updates 1.00 Total deletes 0.00 Total discards 0.00 Total operations 1.00 *** Latest statistics since 2018-04-05 03:59:38 *** Total inserts 0.00 Total updates 1.00 Total deletes 0.00 Total discards 0.00 Total operations 1.00 End of Statistics.
Yup, we’ve got stats for the process now after the change.
Hope It Helps
Prashant
KUMARESAN RAMACHANDRAN said
Totally, no sense for the workaround.
FatDBA said
Hi Kumaresan,
I didn’t get that. Is there any confusion here ?
Your Private Proxy Sites said
some truly interesting info , well written and loosely user pleasant.