现象:客户GG做extract时报错OGG-00053
OGG-00053: No extraction maps specified
Cause: There are no TABLE parameters in the Extract parameter file to specify
source tables for which to capture data.
Action: Add one or more TABLE parameters to the Extract parameter file.
GGSCI (JOADBTEST01) 3>ADD EXTRACT ext2, SOURCEISTABLE
GGSCI (JOADBTEST01) 3>EDIT PARAMS ext2
EXTRACT EXT2
USERID goldengate,password goldengate
RMTHOST 10.0.15.107 , MGRPORT 7839
RMTTASK REPLICAT, GROUP initrep
TABLE NEWOLM.*;
分析:
经过查看NEWOLM下没有表对象。
GGSCI (JOADBTEST01) 3> info trandata NEWOLM.*
ERROR: No viable tables matched specification.
GGSCI (JOADBTEST01) 4>
SQL> select count(*) from dba_tables where owner='NEWOLM'
COUNT(*)
----------
0
解决方法:
对于不存在任何表对象的SCHEMA,GG做extract时会报错OGG-00053。