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.

  • 相关阅读:
    31天重构学习笔记9. 提取接口
    31天重构学习笔记4. 降低方法
    31天重构学习笔记8. 使用委派代替继承
    31天重构学习笔记11. 使用策略类
    31天重构学习笔记12. 分解依赖
    MyCat:第八章:MyCAT In Action中文版
    HDU 2041 超级楼梯
    CSU 1487 未覆盖顶点数量
    HDU 1712 ACboy needs your help
    HDU 2034 人见人爱AB
  • 原文地址:https://www.cnblogs.com/yaoyangding/p/15713153.html
Copyright © 2011-2022 走看看