zoukankan      html  css  js  c++  java
  • How to check Goldengate invalid parameter, using checkprm utility in GG 12.2 (Doc ID 2144041.1)

    To BottomTo Bottom

    In this Document

      Goal
      Solution
      References

    APPLIES TO:

    Oracle GoldenGate - Version 12.2.0.1.0 and later
    Information in this document applies to any platform.

    GOAL

    In 12.2 GG version, if we use TRANLOGOPTIONS DBLOGREADER it abend with below error

    2016-02-27 05:57:56 ERROR OGG-10144 Oracle GoldenGate Capture for Oracle,etest.prm: (etest.prm) line 9: Parameter [DBLOGREADER] is not valid for this configuration.

    I ended disabling this parameter in extract and then it started running again.

    --TRANLOGOPTIONS DBLOGREADER


    While integrated extract with parameter TRANLOGOPTIONS DBLOGREADER in earlier release (12.1) never hit same issue, it just ignores.

    SOLUTION

    TRANLOGOPTIONS parameter to control the way that Extract interacts with the transaction log or with the API that passes transaction data, depending on the database or capture mode.

    The parameter is for classic.

    Snippet from 12.2 reference guide.

    DBLOGREADER
    (Oracle) Valid for Extract in classic capture mode.

    You can remove TRANLOGOPTIONS DBLOGREADER and restart the extract. It is documented along with the checkprm utility that was new in 12.2


    So how to check which goldengate parameter are valid or not in 12.2 , please use checkprm utility as below

    If you run checkprm utility like below, it does not pass parameter DBLOGREADER. 

    GGSCI> sh checkprm /home/oracle/gg12201/dirprm/etest.prm -C extract -m integrated -V


    Parameter file validation context:

    component(s): EXTRACT
    mode(s) : Integrated Extract
    platform(s) : Linux
    database(s) : Oracle 11g


    /home/oracle/gg12201/dirprm/etest.prm

    extract  etest
    userid  <OGG admin> password : <password>
    tranlogoptions  integratedparams : (MAX_SGA_SIZE 100)
    exttrail  /home/oracle/gg12201/dirdat/lu
    logallsupcols 
    updaterecordformat  COMPACT
    table : test.*;


    (etest.prm) line 7: Parameter [DBLOGREADER] is not valid for this configuration.

    2016-03-25 16:33:06 INFO OGG-10139 Parameter file /home/oracle/gg12201/dirprm/etest.prm: Validity check: FAIL.

    GGSCI>

    So this parameter should not be used in 12.2.

  • 相关阅读:
    别人走的路-1
    抽象类跟接口的区别
    一个类实现多个接口的demo
    servlet+jdbc+javabean其实跟ssh差不多
    什么是shell
    设置cookie倒计时让让表单自动提交
    变量、基本数据类型
    编程语言、添加环境变量、变量
    Java优先队列一些问题
    JavaScript学习-JSON
  • 原文地址:https://www.cnblogs.com/yaoyangding/p/15713153.html
Copyright © 2011-2022 走看看