zoukankan      html  css  js  c++  java
  • GoldenGate—AUTORESTART配置

    AUTORESTART

    Valid For

    Manager

    Description

    Use the AUTORESTART parameter to start one or more Extract and Replicat processes automatically after they fail. AUTORESTART provides fault tolerance when something temporary interferes with a process, such as intermittent network outages or programs that interrupt access to transaction logs.

    You can use multiple AUTORESTART statements in the same parameter file.

    To apply this parameter to an Extract group that is created in PASSIVE mode, use it for the Manager that is on the target system where the associated alias Extract group resides. Oracle GoldenGate will send the start command to the source system. If AUTORESTART is used locally for a passive Extract group, it is ignored.

    If Manager encounters an out-of-order transaction upon restart, it will not restart Extract. Instead, it will log a warning that notifies you to use the ETROLLOVER option of SEND EXTRACT to advance the trail to skip the transaction that caused the error.

    Default

    Do not auto-restart

    Syntax

    AUTORESTART {EXTRACT | REPLICAT | ER} group_name
    [, RETRIES number]
    [, WAITMINUTES {minutes | seconds}]
    [, RESETMINUTES {minutes | seconds}]
    
    
    EXTRACT

    Restarts Extract automatically.

    REPLICAT

    Restarts Replicat automatically.

    ER

    Restarts Extract and Replicat automatically.

    group_name

    A group name or wildcard specification for multiple groups. When wildcarding is used, Oracle GoldenGate starts all groups of the specified process type on the local system that satisfy the wildcard, except those in PASSIVE mode.

    RETRIES number

    The maximum number of times that Manager should try to restart a process before aborting retry efforts. The default number of tries is 2.

    WAITMINUTES {minutes | seconds}

    The amount of time, in minutes or seconds, to pause between discovering that a process has terminated abnormally and restarting the process. Use this option to delay restarting until a necessary resource becomes available or some other event occurs. The default delay is 2 minutes or 120 seconds.

    RESETMINUTES {minutes | seconds}

    The window of time, in minutes or seconds, during which retries are counted. The default is 120 minutes (2 hours) or 7200 seconds. After the time expires, the number of retries reverts to zero.

    Example

    In the following example, Manager tries to start all Extract processes three times after failure within a one hour time period, and it waits five minutes before each attempt.

    AUTORESTART EXTRACT *, RETRIES 3, WAITMINUTES 5, RESETMINUTES 60
  • 相关阅读:
    如何禁用Xcode7下iOS9 App传输安全,并修复无法连接服务器错误
    iOS单例清除
    Git忽略规则及.gitignore规则不生效的解决办法
    javascript 在ie8中报“缺少标识符、字符串或数字“问题再现:
    树莓派 远程桌面 设置显示中文
    在IIS Express中调试时无法读取配置文件 错误
    Win7 下IIS(7.5)发布 ASP.NET MVC
    .Net中使用com组件后发生System.ArithmeticException异常的解决办法(Message=算术运算中发生溢出或下溢。)
    CodeSimth
    windows 开机启动 CassiniDev(IIS替代软件)
  • 原文地址:https://www.cnblogs.com/elontian/p/10118087.html
Copyright © 2011-2022 走看看