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. 转: MVC设计思想简介

    模型-视图-控制器(MVC)是80年代Smalltalk-80出现的 一种软件设计模式,现在已经被广泛的使用. 1.模型(Model) 模型是应用程序的主体部分.模型表示业务数据,或者业务逻辑. 2. ...

  2. CentOS修改默认编码为UTF-8,使java程序字符集默认为UTF-8

    java程序在本地接受php的utf8字符串好好的,到了服务器就行了. 解决,修改vi /etc/sysconfig/i18n,修改之后ssh断开,重连后KILL你的java. LANG=" ...

  3. CTSC&&APIO 2015 酱油记

    在北京待了一周多,还是写点记录吧. 人民大学校园还是挺不错的,不过伙食差评. CTSC的题目太神,根本不会搞,一试20二试10分..本来都寄希望于提交答案题的..结果就悲剧了. 然后是听大爷们的论文答 ...

  4. SSH框架之一详解maven搭建多模块项目

    闲来无事,思量着自己搭建一个ssh框架,一来回顾熟悉一下ssh的内容,hibernate还就没用过了,生疏了都.二来整合一下,将其他掌握的和正在学习的框架核技术糅合到一起,就当是做一个demo练手了. ...

  5. 【个人使用.Net类库】(3)Excel文件操作类(基于NPOI)

    Web开发工作中经常要根据业务的需要生成对应的报表.经常采用的方法如下: 将DataTable导出至Excel文件; 读取模板Excel文件; 修改模板Excel文件对应的内容. 因此,便想到封装一个 ...

  6. web前端基础篇⑦

    1.img src/url后一般接地址信息 标题为<h1>-<h6> 字体依次变小 预文本格式<pre></pre> 2.a标签实现跳转 例:<a ...

  7. sqoop的增量导入(increment import)

    1.import增量导入的官方说明

  8. MapReducer程序调试技巧

    写过程序分布式代码的人都知道,分布式的程序是比较难以调试的,但是也不是不可以调试,对于Hadoop分布式集群来说,在其上面运行的是mapreduce程序,因此,有时候写好了mapreduce程序之后, ...

  9. 另一种图片上传 jquery.fileupload.js

    今天遇到另外一种上传图片方法 用jquery.fileupload.js <input type="file" name="file[]" multipl ...

  10. 关于重定向urlrewriter.urlmapping

    大家都知道web.config 中的 urlMappings怎么用 <system.web> <urlMappings enabled="true"> &l ...