zoukankan      html  css  js  c++  java
  • 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列导致
     
    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.

  • 相关阅读:
    (三)xpath爬取4K高清美女壁纸
    聚焦爬虫:数据解析
    (二)requests-爬取国家药监局生产许可证数据
    (一)requests-实战小练习
    requests模块
    spring+apache dbcp +oracle 连接池配置以及优化
    IntelliJ IDEA 注释模版 输入/**后 不显示配置好的模板
    oracle 隔离级别、事务怎么开始的以及如何查看数据库采用字符集
    java 日期处理相关
    Oracle 插入数据时获取系统时间
  • 原文地址:https://www.cnblogs.com/dataroot123/p/13021689.html
Copyright © 2011-2022 走看看