zoukankan      html  css  js  c++  java
  • goldengate 参数之GETTRUNCATES | IGNORETRUNCATES --转载

    GETTRUNCATES | IGNORETRUNCATES
    Valid For
    Extract and Replicat
    Description
    Use the GETTRUNCATESand IGNORETRUNCATES parameters to control whether or not 
    Oracle GoldenGate processes table truncate operations. By default, truncate operations 
    are not captured from the source or replicated to the target.
    GETTRUNCATES and IGNORETRUNCATES are table-specific. One parameter remains in 
    effect for all subsequent TABLE or MAP statements, until the other parameter is 
    encountered.
    In a coordinated Replicat configuration, truncates are always processed by the thread 
    that is responsible for barrier transactions.
    默认的在仅仅开启DML复制的情况下TRUNCATE是不被捕获的,如果需要捕获请时候参数,EXTRACT端和REPLICAT端
    都需要开启

    3 Supported Databases
    ■ GETTRUNCATESand IGNORETRUNCATESare not supported for Teradata.
    ■ GETTRUNCATESand IGNORETRUNCATESare supported by Extract for Oracle and 
    Sybase.
    ■ GETTRUNCATESand IGNORETRUNCATESare supported by Replicat for Oracle, SQL 
    Server, Sybase, DB2 LUW, DB2 z/OS, MySQL, SQL/MX, and other ODBC targets 
    that support the TRUNCATEcommand.
    本组参数仅仅支持ORACLE和SYBASE

    3 Oracle Limitations
    ■ Oracle GoldenGate supports the Oracle TRUNCATE TABLE command, but not 
    TRUNCATE PARTITION. You can replicate TRUNCATE PARTITIONas part of the full 
    Oracle GoldenGate DDL replication support.
    ■ The database does not log truncates against an empty table, so those operations 
    are not captured by Oracle GoldenGate. The DDL support of Oracle GoldenGate 
    can be used for this purpose.
    ■ The database does not log truncates for empty partitions, so Oracle GoldenGate 
    cannot reliably process TRUNCATE TABLE when the table contains any empty 
    partitions. Do not use GETTRUNCATES on any partitioned table. Oracle GoldenGate 
    DDL support can be used to capture truncates on tables that might include empty 
    partitions.

    本组参数仅仅支持在未开启DDL复制的情况下需要TRUNCATE TABLE的情况,但是不支持TRUNCATE paration,
    如果需要TRUNCATE PARATITION请开启DDL复制
    如果TUNCATE一个空表,在只支持DML的情况下是不捕获的,如果需要捕获请开启DDL复制

  • 相关阅读:
    SQL Server 数据库部分常用语句小结(三)
    SQL Server 数据库部分常用语句小结(四)
    通过存储过程(SP)实现SQL Server链接服务器(LinkServer)的添加
    pcb布线强弱电间隔距离
    程序占用内存大小
    Offer来了(原理篇)笔记之第三章并发编程
    Offer来了(原理篇)笔记之第一章JVM原理
    西瓜视频奇妙的bug
    mongodb忘记了admin的账号密码
    MongoDB更改默认端口
  • 原文地址:https://www.cnblogs.com/future2012lg/p/5237304.html
Copyright © 2011-2022 走看看