現象:客戶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(*)
----------
解決方法:
對于不存在任何表對象的SCHEMA,GG做extract時會報錯OGG-00053。