DG學習筆記(5)_Standby Redo Log
DG學習筆記(5)_Standby Redo Log
目錄
1 Standby Redo Logs 概念
2 RFS 程式不寫Standby Redo Log 的情形
3建立Standby Redo Log
4 Standby Redo Log帶來的優勢
1 Standby Redo Logs 概念
Standby redo logs are required for physical standby databases running in Maximum protection or maximum available mode and are recommanded for maximum performance.
Logical standby database do not support standby redo logs, they can be allocated on a logical standby database, but they will not be used.
(最大保護模式和最大可用性模式中是必須的.而在最大效能中不是必須的,在邏輯Standby中不需要)
Standby redo logs must be archived before the data can be applied to the standby database, the standby archival operation occurs automatically.
Standby redo logs configuration must be identical to the primary database online log configuration.(same number and size). If you have different sized online log files, the RFS process will automatically switch to the same size standby redo log as needed.
(Standby Redo Log的大小設定應與Primary端的Redo Log 設定一樣)
2 RFS 程式不寫Standby Redo Log 的情形
The RFS process will not write the standby redo logs and will write an archive log if:
(1) There are no standby redo logs
(2) It cannot find the same size standby redo log as the incoming online log file.
(3) All of the standby redo logs of the correct size are not yet archived.
3 建立Standby Redo Log
SQL>ALTER DATABASE ADD STANDBY LOGFILE (’/oracle/dbs/log1c.rdo’, ’/oracle/dbs/log2c.rdo’) SIZE 500K;
SQL> ALTER DATABASE ADD STANDBY LOGFILE MEMBER ’/oracle/dbs/log2b.rdo’ TO GROUP 2;
Oracle Corporation recommends that you create standby redo logs on the primary database so that switching roles is easier and without additional DBA intervention.
一般情況下,兩邊的引數基本一致,方便SwitchOver.
4 Standby Redo Log帶來的優勢
Standby redo logs form. a separate pool of log file groups and provide the following advantages over archived online redo logs:
Because standby redo logs are preallocated files, they avoid the operating system overhead of file system metadata updates common with sequential files.
Standby redo logs can reside on raw devices, thus providing I/O write performance equal to that of the primary database.
Standby redo logs can be multiplexed using multiple members, improving reliability over archived redo logs.
the easiest way to determine if the current standby log configuration is satisfactory is to examine the contents of the RFS process trace file and the database alert log. If messages indicate that the RFS process frequently has to wait for a group because archiving has not completed, add more standby groups.
(確定Standby Redo Log 是否滿足要求的判斷依據)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10248702/viewspace-629922/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle RAC+DG 調整redo/standby log fileOracle
- DG學習筆記(11)_Log Transport Services筆記
- DG學習筆記(4)_建立物理Standby步驟及注意事項筆記
- Oracle DG 出現 RFS[6]: No standby redo logfiles created for thread 1Oraclethread
- standby redo log的理解
- InnoDB文件筆記(二)—— Redo Log筆記
- 【DATAGUARD 學習】測試standby應用REDO
- DG學習筆記(7)_保護模式筆記模式
- DG學習筆記(8)_Switchover and Failover筆記AI
- Oracle DG建立Logical Standby DatabaseOracleDatabase
- Dataguard環境修改主庫和standby庫online redo log&standby redo log大小
- redo日誌檔案學習筆記(一)筆記
- Oracle Standby Redo Log實驗兩則Oracle
- DG學習筆記(1)_入門介紹筆記
- DG學習筆記(2)_體系結構筆記
- DG學習筆記(9)_備份與RAC筆記
- DG學習筆記(12)_相關檢視筆記
- DG學習筆記(6)_LOG_ARCHIVE_DEST_N引數的各個屬性筆記Hive
- Vue學習筆記5Vue筆記
- git學習筆記5Git筆記
- CCNA學習筆記5筆記
- 強化學習-學習筆記5 | AlphaGo強化學習筆記Go
- [筆記]RAC上改變redo logfile大小筆記
- Oracle Dataguard Standby Redo Log的兩個實驗Oracle
- HTML5學習筆記HTML筆記
- Android學習筆記(5)Android筆記
- PL/SQL學習筆記-5SQL筆記
- ruby字串學習筆記5字串筆記
- MySQL學習之change buffer 和 redo logMySql
- 學習筆記:MySQL Cluster 的binlog筆記MySql
- MySQL中的binlog和redo淺析(r12筆記第5天)MySql筆記
- Usage, Benefits and Limitations of Standby Redo Logs (SRL) [ID 219344.1]MIT
- G01學習筆記-5筆記
- swift學習筆記《5》- 實用Swift筆記
- H5學習筆記(一)H5筆記
- Kotlin學習筆記(5)- 類Kotlin筆記
- MD5之學習筆記筆記
- railscasts學習筆記(5-2)AIAST筆記