standby redo log的理解
V$LOGFILE:Contains information about the online redo log files and standby redo log files
V$LOGFILE.TYPE=ONLINE OR STANDBY
V$STANDBY_LOG:Contains log file information from the standby redo log files
RFS process:remote file server (RFS) process
The standby redo logs are populated with redo information as fast as the primary redo logs, rather than waiting for the redo log to be archived and shipped to the standby database. This means that the standby redo log has more current information than the log apply mechanism because it took a "shortcut" and was written to the standby, bypassing the traditional archiving and FTP to the standby database.
The synchronous and asynchronous redo transport modes require that a redo
transport destination have a standby redo log. A standby redo log is used to store redo
received from another Oracle database. Standby redo logs are structurally identical to
redo logs, and are created and managed using the same SQL statements used to create
and manage redo logs.
Redo received from another Oracle database via redo transport is written to the
current standby redo log group by an RFS foreground process. When a log switch
occurs on the redo source database, incoming redo is then written to the next standby
redo log group, and the previously used standby redo log group is archived by an
ARCn foreground process.
The process of sequentially filling and then archiving redo log file groups at a redo
source database is mirrored at each redo transport destination by the sequential filling
and archiving of standby redo log groups.
Each standby redo log file must be at least as large as the largest redo log file in the
redo log of the redo source database. For administrative ease, Oracle recommends that
all redo log files in the redo log at the redo source database and the standby redo log at
a redo transport destination be of the same size.
The standby redo log must have at least one more redo log group than the redo log at
the redo source database, for each redo thread at the redo source database. At the redo
source database, query the V$LOG view to determine how many redo log groups are in
the redo log at the redo source database and query the V$THREAD view to determine
how many redo threads exist at the redo source database.
Cases Where Redo Is Written Directly To an Archived Redo Log File
Redo received by a standby database is written directly to an archived redo log file if a
standby redo log group is not available or if the redo was sent to resolve a redo gap.
When this occurs, redo is written to the location specified by the LOCATION attribute of
one LOG_ARCHIVE_DEST_n parameter that is valid for archiving redo received from
another database. The LOG_ARCHIVE_DEST_n parameter that is used for this purpose is
determined when the standby database is mounted, and this choice is reevaluated
each time a LOG_ARCHIVE_DEST_n parameter is modified.
Apply Services
Apply redo data on the standby database to maintain transactional
synchronization with the primary database. Redo data can be applied either from
archived redo log files, or, if real-time apply is enabled, directly from the standby
redo log files as they are being filled, without requiring the redo data to be
archived first at the standby database.
V$LOGFILE.TYPE=ONLINE OR STANDBY
V$STANDBY_LOG:Contains log file information from the standby redo log files
RFS process:remote file server (RFS) process
The standby redo logs are populated with redo information as fast as the primary redo logs, rather than waiting for the redo log to be archived and shipped to the standby database. This means that the standby redo log has more current information than the log apply mechanism because it took a "shortcut" and was written to the standby, bypassing the traditional archiving and FTP to the standby database.
The synchronous and asynchronous redo transport modes require that a redo
transport destination have a standby redo log. A standby redo log is used to store redo
received from another Oracle database. Standby redo logs are structurally identical to
redo logs, and are created and managed using the same SQL statements used to create
and manage redo logs.
Redo received from another Oracle database via redo transport is written to the
current standby redo log group by an RFS foreground process. When a log switch
occurs on the redo source database, incoming redo is then written to the next standby
redo log group, and the previously used standby redo log group is archived by an
ARCn foreground process.
The process of sequentially filling and then archiving redo log file groups at a redo
source database is mirrored at each redo transport destination by the sequential filling
and archiving of standby redo log groups.
Each standby redo log file must be at least as large as the largest redo log file in the
redo log of the redo source database. For administrative ease, Oracle recommends that
all redo log files in the redo log at the redo source database and the standby redo log at
a redo transport destination be of the same size.
The standby redo log must have at least one more redo log group than the redo log at
the redo source database, for each redo thread at the redo source database. At the redo
source database, query the V$LOG view to determine how many redo log groups are in
the redo log at the redo source database and query the V$THREAD view to determine
how many redo threads exist at the redo source database.
Cases Where Redo Is Written Directly To an Archived Redo Log File
Redo received by a standby database is written directly to an archived redo log file if a
standby redo log group is not available or if the redo was sent to resolve a redo gap.
When this occurs, redo is written to the location specified by the LOCATION attribute of
one LOG_ARCHIVE_DEST_n parameter that is valid for archiving redo received from
another database. The LOG_ARCHIVE_DEST_n parameter that is used for this purpose is
determined when the standby database is mounted, and this choice is reevaluated
each time a LOG_ARCHIVE_DEST_n parameter is modified.
Apply Services
Apply redo data on the standby database to maintain transactional
synchronization with the primary database. Redo data can be applied either from
archived redo log files, or, if real-time apply is enabled, directly from the standby
redo log files as they are being filled, without requiring the redo data to be
archived first at the standby database.
By default, apply services waits for a standby redo log file to be archived before
applying the redo that it contains. However, you can enable real-time apply, which
allows apply services to apply the redo in the current standby redo log file as it is
being filled
applying the redo that it contains. However, you can enable real-time apply, which
allows apply services to apply the redo in the current standby redo log file as it is
being filled
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30126024/viewspace-2139996/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Failover過程涉及standby redo log的實驗和理解AI
- Redo Log之一:理解Oracle redo logOracle Redo
- Dataguard環境修改主庫和standby庫online redo log&standby redo log大小
- (轉)老白的理解REDO LOG
- Oracle Standby Redo Log實驗兩則Oracle
- Oracle Dataguard Standby Redo Log的兩個實驗Oracle
- DG學習筆記(5)_Standby Redo Log筆記
- Oracle RAC+DG 調整redo/standby log fileOracle
- Usage, Benefits and Limitations of Standby Redo Logs (SRL) [ID 219344.1]MIT
- Alert.log shows No Standby Redo Logfiles Of Size 153600 Blocks AvailableBloCAI
- stream不能實時傳送standby redo log問題的解決
- 深入理解MySQL系列之redo log、undo log和binlogMySql
- How to Add/Drop/Resize Redo Log with Physical Standby in place. [ID 473442.1]
- Standby Redo Log 的設定原則、建立、刪除、檢視、歸檔位置
- Oracle DG 出現 RFS[6]: No standby redo logfiles created for thread 1Oraclethread
- MySQL Redo log頁內邏輯怎麼理解MySql
- MySQL的Redo log 以及Bin logMySql
- undo log和redo log
- MySQL中的redo log和undo logMySql
- mysql關於redo事務日誌ib_logfile的理解MySql
- Redo Log之二:遷移redo log到不同的儲存路徑
- 修改oracle redo log的大小Oracle Redo
- logminer工具對redo log或archive log的挖掘Hive
- MySQL:Redo & binlogMySql
- mysql之 redo logMySql
- oracle redo log operationOracle Redo
- redo的等待log file sync和log file parallel write和redo size設定Parallel
- MySQL中的redo log和checkpointMySql
- redo logfile的維護操作
- Redo Log Buffer的大小設定
- Redo log 的分享與記憶
- 【DATAGUARD 學習】測試standby應用REDO
- redo_log_switch_date
- redo log file 優化優化
- Oracle redo log重組Oracle Redo
- Oracle Dump Redo Log FileOracle
- 主庫歷經open resetlogs後,如何redo apply 物理備庫_flashback physical standby dbAPP
- MySQL Undo Log和Redo Log介紹MySql