OGG-00751错误处理一例

今天下午观察ogg报表库,发现主站的dump进程abend掉了,err log里报错信息如下:
 
2012-05-23 16:56:42   ERROR   OGG-00751  Oracle GoldenGate Capture for Oracle, dpksr1.prm:  Failed to validate table MYNET_APP.M_ORDER_INFO. Likely due to existence of unused columns. It will cause data integrity issue if you are not using sourcedefs in downstream Replicat or the target table doesn't have the same unused columns due to ASSUMETARGETDEFS or DDL replication. Please use 'DBOPTIONS ALLOWUNUSEDCOLUMN' parameter to override this.
2012-05-23 16:56:42  ERROR   OGG-01668  Oracle GoldenGate Capture for Oracle, dpksr1.prm:  PROCESS ABENDING.
 
仔细观察发现,是由于一张表中存在unused列导致,回想下,昨天我们经理在这张表上加了一列,之后发现加错了,想直接drop,由于业务高峰期,就先执行了unused操作,从而导致dump进程异常abend,这个错误的官方说明如下:
 
OGG-00751: Failed to validate table {0}. Likely due to existence of unused columns.
It will cause data integrity issue if you are not using sourcedefs in downstream
Replicat or the target table doesn't have the same unused columns due to
ASSUMETARGETDEFS or DDL replication. Please use 'DBOPTIONS
ALLOWUNUSEDCOLUMN' parameter to override this.
Cause: The specified table contains unused columns. Oracle Supports tables with
unused columns, but the support is disabled by default. Extract abends on these
columns unless you use the DBOPTIONS parameter with the
ALLOWUNUSEDCOLUMN option to force Extract to generate a warning and
continue processing.
Action: Specify DBOPTIONS with ALLOWUNUSEDCOLUMN. When using this
parameter, either the same unused column must exist in the target table, or a
source definitions file must be created for Replicat with the DEFGEN utility. For
more information about the source definitions file, see the Oracle GoldenGate
administration documentation.
 
解决方法也给出了,很简单,停掉dump进程,添加参数:
 
DBOPTIONS  ALLOWUNUSEDCOLUMN
 
然后重启进程就ok了,正常启动后,该错误就变成了警告,相关log信息如下:
 
2012-05-23 16:59:07  WARNING OGG-00752  Oracle GoldenGate Capture for Oracle, dpksr1.prm:  Failed to validate table MYNET_APP.M_ORDER_INFO. Likely due to existence of unused column. Please make sure you use sourcedefs in downstream Replicat, or the target table has exactly the same unused columns when using ASSUMETARGETDEFS or DDL replication.
 
这个警告的官方说明如下:
 
OGG-00752: Failed to validate table {0}. Likely due to existence of unused column.
Please make sure you use sourcedefs in downstream Replicat, or the target table
has exactly the same unused columns when using ASSUMETARGETDEFS or
DDL replication.
Cause: The specified table contains unused columns. Oracle Supports tables with
unused columns, but the support is disabled by default. Extract abends on these
columns unless you use the DBOPTIONS parameter with the
ALLOWUNUSEDCOLUMN option to force Extract to generate a warning and
continue processing.
Action: Specify DBOPTIONS with ALLOWUNUSEDCOLUMN. When using this
parameter, either the same unused column must exist in the target table, or a
source definitions file must be created for Replicat with the DEFGEN utility. For
more information about the source definitions file, see the Oracle GoldenGate
administration documentation.
 
可以忽略。
 
记录一下~~

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/25618347/viewspace-730697/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/25618347/viewspace-730697/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值