OGG用NOCOMPRESSDELETES記錄所有列刪除值
我們可以用ogg來實現交易事物跟蹤,比如記錄資料刪除前的值,
有下面兩個引數來控制
COMPRESSDELETES和NOCOMPRESSDELETES
COMPRESSDELETES引數是預設值,只記錄刪除有主鍵的值
NOCOMPRESSDELETES 引數可以記錄所有列刪除值
以下是詳細解釋:
COMPRESSDELETES | NOCOMPRESSDELETES
Valid for Extract
Use the COMPRESSDELETES and NOCOMPRESSDELETES parameters for a log-based Extract group
to control the way columns are written to the trail record for delete operations.
COMPRESSDELETES, the default, causes Extract to write only the primary key to the trail for
delete operations. The key provides enough information to delete the correct target record,
while restricting the amount of data that must be processed.
NOCOMPRESSDELETES sends all of the columns to the trail. This becomes the default when a
table definition does not include a primary key or unique index. If a substitute key was
defined with the KEYCOLS option of TABLE, then those columns are written to the trail,
whether or not a real key was defined.
COMPRESSDELETES and NOCOMPRESSDELETES can be used globally for all TABLE statements in the
parameter file, or they can be used as on-off switches for individual TABLE statements.
These parameters do not affect data pumps.
Default COMPRESSDELETES
Syntax COMPRESSDELETES | NOCOMPRESSDELETES
Valid for Extract
Use the COMPRESSDELETES and NOCOMPRESSDELETES parameters for a log-based Extract group
to control the way columns are written to the trail record for delete operations.
COMPRESSDELETES, the default, causes Extract to write only the primary key to the trail for
delete operations. The key provides enough information to delete the correct target record,
while restricting the amount of data that must be processed.
NOCOMPRESSDELETES sends all of the columns to the trail. This becomes the default when a
table definition does not include a primary key or unique index. If a substitute key was
defined with the KEYCOLS option of TABLE, then those columns are written to the trail,
whether or not a real key was defined.
COMPRESSDELETES and NOCOMPRESSDELETES can be used globally for all TABLE statements in the
parameter file, or they can be used as on-off switches for individual TABLE statements.
These parameters do not affect data pumps.
Default COMPRESSDELETES
Syntax COMPRESSDELETES | NOCOMPRESSDELETES
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7199859/viewspace-704133/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- javascript陣列如何刪除所有的指定值陣列項JavaScript陣列
- 用“稽核物件”功能記錄檔案刪除記錄物件
- 根據陣列的值刪除元素陣列
- 用SQL語言刪除表中的記錄SQL
- for迴圈無法刪除陣列所有指定元素陣列
- JS陣列不新增重複值 & 刪除指定值JS陣列
- 刪除目錄及目錄下所有檔案與子目錄 (轉)
- mysql刪除一條記錄MySql
- 刪除Oracle重複記錄Oracle
- oracle刪除重複記錄Oracle
- js刪除陣列元素中的指定值JS陣列
- 【Oracle】刪除所有表Oracle
- mysql增加列,刪除列學習筆記MySql筆記
- windows10更新記錄刪除_怎樣刪除win10更新歷史記錄WindowsWin10
- 刪除不掉的資料記錄
- Mongodb原始碼分析--刪除記錄MongoDB原始碼
- 刪除重複id的記錄
- 刪除Chrome位址列記錄中自動補全的網址Chrome
- js如何刪除陣列中重複的值JS陣列
- javascript刪除陣列指定值程式碼例項JavaScript陣列
- javascript刪除陣列中所有奇數程式碼例項JavaScript陣列
- oracle 快速刪除大批量資料方法(全部刪除,條件刪除,刪除大量重複記錄)Oracle
- mysql表刪除重複記錄方法MySql
- DB2 刪除重複記錄DB2
- 找回Oracle中Delete刪除的記錄Oracledelete
- 用SQL語句刪除重複記錄的四種方法SQL
- oracle 快速刪除大批量資料方法(全部刪除,條件刪除,刪除大量重複記錄) 轉Oracle
- 【轉】oracle 快速刪除大批量資料方法(全部刪除,條件刪除,刪除大量重複記錄)Oracle
- javascript按照值刪除陣列元素程式碼例項JavaScript陣列
- 陣列 重複不新增 、相同刪除,相同賦值陣列賦值
- 刪除當前目錄下的所有可執行檔案
- 如何刪除win10所有內建應用_windows10刪除內建應用的方法Win10Windows
- c# 刪除某個資料夾下所有空目錄,解決因刪除空目錄後上一組成空目錄沒有刪除的情況C#
- mysql支援跨表delete刪除多表記錄MySqldelete
- Oracle使用over()partition by刪除重複記錄Oracle
- Oracle如何刪除表中重複記錄Oracle
- 如何刪除oracle庫中相同的記錄Oracle
- db2刪除重複的記錄DB2