oracle goldengate 複製端延時應用引數
DEFERAPPLYINTERVAL
Valid for Replicat
Use the DEFERAPPLYINTERVAL parameter to set an amount of time that Replicat waits before
applying captured transactions to the target database. To determine when to apply the
transaction, Replicat adds the delay value to the commit timestamp of the source
transaction, as recorded in the local GMT time of the source system.
You can use DEFERAPPLYINTERVAL for such purposes as to prevent the propagation of
erroneous changes made to the source data, to control data arrival across different time
zones, and to allow time for other planned events to occur before the data is applied to the
target. Note that by using DEFERAPPLYINTERVAL, you are purposely building latency into the
target data, and it should be used with caution if the target applications are time-sensitive.
Use the DEFERAPPLYINTERVAL parameter to set an amount of time that Replicat waits before
applying captured transactions to the target database. To determine when to apply the
transaction, Replicat adds the delay value to the commit timestamp of the source
transaction, as recorded in the local GMT time of the source system.
You can use DEFERAPPLYINTERVAL for such purposes as to prevent the propagation of
erroneous changes made to the source data, to control data arrival across different time
zones, and to allow time for other planned events to occur before the data is applied to the
target. Note that by using DEFERAPPLYINTERVAL, you are purposely building latency into the
target data, and it should be used with caution if the target applications are time-sensitive.
To find out if Replicat is deferring operations, use the SEND REPLICAT command with the
STATUS option and look for a status of Waiting on deferred apply.
NOTE If the TCPSOURCETIMER parameter is in use, it is possible that the timestamps of the
source and target transactions could vary by a few seconds, causing Replicat to
hold its transaction (and hence row locks) open for a few seconds. This small
variance should not have a noticeable affect on performance
source and target transactions could vary by a few seconds, causing Replicat to
hold its transaction (and hence row locks) open for a few seconds. This small
variance should not have a noticeable affect on performance
Default 0 (no delay)
Syntax DEFERAPPLYINTERVAL
Syntax DEFERAPPLYINTERVAL
Argument Description
A numeric value for the amount of time to delay. The minimum delay
time is the value that is set for the EOFDELAY parameter. The maximum
delay time is seven days.
The unit of time for the delay. Can be:
S | SEC | SECS | SECOND | SECONDS | MIN | MINS | MINUTE | MINUTES | HOUR | HOURS |
DAY | DAYS
time is the value that is set for the EOFDELAY parameter. The maximum
delay time is seven days.
S | SEC | SECS | SECOND | SECONDS | MIN | MINS | MINUTE | MINUTES | HOUR | HOURS |
DAY | DAYS
Example This example directs Replicat to wait ten hours before posting its transactions.
DEFERAPPLYINTERVAL 10
If a transaction completes at 08:00:00 source GMT time, and the delay time is 10 hours, the
transaction will be applied to the target at 18:00:00 target GMT time the same day.
DEFERAPPLYINTERVAL 10
If a transaction completes at 08:00:00 source GMT time, and the delay time is 10 hours, the
transaction will be applied to the target at 18:00:00 target GMT time the same day.
用以下命令檢視是否應用延時
send REPLICAT RFPFP011 status
如果出現Waiting on deferred apply (2011-11-22 09:09:56) 則啟用了DEFERAPPLYINTERVAL引數
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7199859/viewspace-711735/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 用python生成oracle goldengate複製配置檔案PythonOracleGo
- Oracle GoldenGate常用引數詳解OracleGo
- goldengate抽取程式延遲90小時Go
- 實體類引數複製
- MySQL並行複製延時時間不準確MySql並行
- GoldenGate HANDLECOLLISIONS引數使用說明Go
- MySQL 8 複製(三)——延遲複製與部分複製MySql
- 應用響應時延背後 深藏的網路時延
- 瞭解GoldenGate Replicat的HANDLECOLLISIONS引數Go
- GoldenGate異種資料庫之間的複製Go資料庫
- mysql主從延遲複製MySql
- PostgreSQL中的複製延遲SQL
- MySQL8.0的一個bug導致複製延時MySql
- 每天一個 PHP 語法五引用計數與寫時複製的實現PHP
- OGG classic模式maxtransops引數提升複製效率模式
- ORACLE GoldenGate Initial LoadOracleGo
- About the Oracle GoldenGate TrailOracleGoAI
- GoldenGate的一些引數的意義Go
- js 淺複製和深複製的區別和應用JS
- 倒數計時應用定製化開發
- 使用Oracle Grid配置Goldengate或其他第三方應用高可用OracleGo
- Oracle GoldenGate 18.1釋出OracleGo
- Oracle GoldenGate安裝(一)OracleGo
- Oracle GoldenGate安裝(二)OracleGo
- Oracle GoldenGate安裝(三)OracleGo
- Redis_RDB持久化之寫時複製技術的應用Redis持久化
- 關於 Angular 應用部署時的 base-href 引數Angular
- MySQL主從複製配置引數 -- logs-slave-updatesMySql
- Oracle 核心引數Oracle
- 數值型模板引數的應用
- 透過延時從庫+binlog複製,恢復誤運算元據
- 高頻面試:如何解決MySQL主從複製延時問題面試MySql
- 福祿克測試報告的三個重要引數:長度、傳輸時延、時延偏離測試報告
- 網路應用優化——時延與頻寬優化
- MySQL之 從複製延遲問題排查MySql
- MySQL主從複製延遲解決方案MySql
- 使用隱含引數testMappingSpeed排查GoldenGate抽取慢的步驟APPGo
- Oracle:PDB 引數管理Oracle
- Oracle ASM使用asmcmd中的cp命令來執行遠端複製OracleASM