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複製
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7728585/viewspace-1100598/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- GoldenGate GETTRUNCATES MSSQLGoSQL
- GOLDENGATE常用引數Go
- goldengate的HANDLECOLLISIONS引數Go
- goldengate的ASSUMETARGETDEFS引數Go
- Oracle GoldenGate系統之----相關引數說明OracleGo
- GoldenGate 基本引數含義Go
- HANDLECOLLISIONS :GoldenGate Replicat的引數Go
- goldengate 的 COMPRESSUPDATES 引數Go
- oracle goldengate引數學習OracleGo
- Oracle GoldenGate常用引數詳解OracleGo
- GoldenGate HANDLECOLLISIONS引數使用說明Go
- goldengate OGG引數規範Go
- Goldengate引數簡要說明Go
- 瞭解GoldenGate Replicat的HANDLECOLLISIONS引數Go
- GoldenGate學習筆記(11)_常用引數Go筆記
- GoldenGate的一些引數的意義Go
- goldengate關於CONVERTUCS2CLOBS引數Go
- GoldenGate 配置文件,裡面有引數說明Go
- goldengate 目的端程式引數APPLYNOOPUPDATES 和ALLOWNOOPUPDATESGoAPPOOP
- 關於Oracle GoldenGate 引數TRANLOGOPTIONS altarchivelogdestOracleGoHive
- oracle goldengate 複製端延時應用引數OracleGo
- C#引數傳遞之值引數C#
- 機器學習之超引數機器學習
- goldengate 中使用batchsql引數需要額外考慮的地方GoBATSQL
- oracle goldengate 雙活複製避免迴圈複製引數OracleGo
- 引數匹配模型——Python學習之引數(二)模型Python
- oracle goldengate 引數詳解(轉MOS:Oracle GoldenGates ample parameter files)OracleGo
- 引數匹配順序——Python學習之引數(三)Python
- fixtrue基礎之params引數實現簡單引數化
- 使用隱含引數testMappingSpeed排查GoldenGate抽取慢的步驟APPGo
- fixtrue基礎之scope引數
- fixtrue基礎之name引數
- fixtrue基礎之autouse引數
- hadoop之 引數調優Hadoop
- SpringMVC之引數傳遞SpringMVC
- ORACLE DG之引數詳解Oracle
- hadoop之 YARN配置引數剖析—RM與NM相關引數HadoopYarn
- 【原創】一對雙引號引發的goldengate血案Go