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复制

goldengate 参数之GETTRUNCATES | IGNORETRUNCATES --转载的更多相关文章

  1. Goldengate参数规范

    1.    文档综述 1.1.  文档说明 本文档规定了在实施Goldengate时,各个进程需要配置的参数. 该参数模板适合于Goldengate11.2.1.0版本: **注:本文档为Golden ...

  2. iftop 安装以及相关参数及说明(转载自csdn)

      转载自http://blog.csdn.net/cqinter/article/details/6250211 关于 Iftop iftop 是类似于top的实时流量监控工具.主要用来显示本机网络 ...

  3. openfoam变热物性参数的设置【转载】

    转载自:http://blog.sina.com.cn/s/blog_9de422500102va73.html 物性参数在constant/thermophysicalProperties文件中设置 ...

  4. JQuery中$.ajax()方法参数详解(转载)

    url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址. type: 要求为String类型的参数,请求方式(post或get)默认为get.注意其他http请求方法,例如put和 ...

  5. winform中messageBox七个参数的使用(转载)

    private void button1_Click(object sender, EventArgs e) { MessageBox.Show(" 1 个参数 ”); } private ...

  6. 彻底搞明白find命令的-mtime参数的含义【转载】

    转自: 彻底搞明白find命令的-mtime参数的含义-goolen-ITPUB博客http://blog.itpub.net/23249684/viewspace-1156932/ 以前一直没有弄明 ...

  7. JQ.ajax 各种参数及属性设置 ( 转载 )

    $.ajax({      type: "post",      url: url,      dataType:'html',      success: function(da ...

  8. 以太坊客户端Geth命令用法-参数详解【转载】

    原文链接:http://www.cnblogs.com/tinyxiong/p/7918706.html Geth在以太坊智能合约开发中最常用的工具(必备开发工具),一个多用途的命令行工具.熟悉Get ...

  9. jquery ajax error函数和及其参数详细说明(转载)

    使用jquery的ajax方法向服务器发送请求的时候,常常需要使用到error函数进行错误信息的处理,本文详细的说明了ajax中error函数和函数中各个参数的用法.一般error函数返回的参数有三个 ...

随机推荐

  1. 自动装配Bean

    Spring提供了几种技巧,可以减少XML的配置数量: 自动装配(autowiring):可以减少<property>(setter注入)和<constructor-arg>( ...

  2. Java in a Nutshell学习笔记

    1, bytecode永远是大段 2,其它语言要在java里运行,要么实现类似于javac的编译器,把该语言解释成为class文件.要么,直接重新实现JVM,直接解释该语言3,Java和C++区别: ...

  3. JAVA 接口与抽象类的区别

    abstract class 与interface都是用来定义抽象概念.例如,对于三角形.圆形.矩形这一些具体的概念,形状就是抽象的概念.因为抽象的概念在问题领域没有具体的概念,所以不能够实例化. a ...

  4. java.lang.ClassNotFoundException: com.*.listener.ConfigInfoReader

    包的问题,删除掉了buildPath的包,再加上一个需要用的,问题搞定...不知道是为什么

  5. follow me learning sqlserver transql

    create DATABASE 教务管理系统on (name=教务管理系统_data,filename='E:\sql\教务管理系统_data.mdf ',size=5mb,maxsize=20mb ...

  6. Android Studio的一些快捷键

    以下这些也是百度的其他人整理的.后面有新的会加进来. AS的快捷键容易和QQ,微信等冲突,可以手动关掉或者修改其他软件的热键 Ctrl+G / Ctrl+Alt+Shift+G:查询变量或者函数或者类 ...

  7. (spring-第18回【AOP基础篇】) 创建切面

    一.   在创建增强一节中,增强被织入到目标类的所有方法中,假设我们希望有选择地织入到目标类某些特定的方法中,就需要使用切点进行目标连接点的定位. 二.   spring通过org.springfra ...

  8. sqlite入门

    SQLite官网: https://www.sqlite.org/index.html 1. 下载请到https://www.sqlite.org/download.html下载相应平台的sqlite ...

  9. php-数据库访问--数据修改

    主页面元素修改脚本 <?php $code = $_GET["c"]; //造连接对象 $db = new MySQLi("localhost",&quo ...

  10. 我的Java后端书架 (2016年暮春3.0版)

      04月 24, 2016 | Filed under 技术 http://calvin1978.blogcn.com/articles/javabookshelf.html 书架主要针对Java后 ...