DG學習筆記(11)_Log Transport Services
DG學習筆記(11)_Log Transport Services
目錄
1 Introduction to Log Transport Services
2 Functional overview
3 How to Send Redo Data
4 Using LGWR to Archive Redo Data
5 Network Tuning for Log Transport Services
1 Introduction to Log Transport Services
The log transport services component of the Data Guard environment is responsible for automatic archiving of primary database online redo logs. Once archived, these logs are known as archived redo logs. Log transport services provide for the management of archived redo log permissions, destinations, transmission, reception, and transmission failure resolution.
2 Functional overview
The archiver process (ARCn) or log writer process (LGWR) can be configured to archive online redo logs to a maximum of 10 destinations.(LGWR也可以歸檔? 是的)
Note:
Log transport services to the physical standby database must be configured to use a dedicated server process in managed recovery mode. Although the read-only mode allows a shared server process, you must have a dedicated server once you open the database again in managed recovery mode.(物理Standby必須配置成Dedicated Server Mode)
3 How to Send Redo Data
By default, log transport services use ARCn processes to archive the local online redo log files on the primary database before transmitting the redo data to remote standby destination. ARCn archival processing supports only the maximum performance level of data protection in Data Guard configurations. You must use the LGWR process to transmit redo data to standby locations that operate in other data protection modes.
Initialization Parameter
The LOG_ARCHIVE_LOCAL_FIRST initialization parameter, the ARCH attribute on the LOG_ARCHIVE_DEST_n parameter, and the LOG_ARCHIVE_DEST_STATE_n parameter control ARCn archival processing.
LOG_ARCHIVE_LOCAL_FIRST (10g) controls when the archiver process transmit redo data to remote standby database destionation.
TRUE: after the online redo log file is completely and successfully archived to at least one local destination. This is the default value.(先本地再遠端)
FALSE: at the same time the online redo log file is archived to the local destinations.(同時)
4 Using LGWR to Archive Redo Data
If you choose the LGWR process, it will transmit redo data to both the local and remote destinations as the redo is generated on the primary database.(as redo is generated at the primary database, it is also propagated to the remote destination.日常產生的同時也傳輸到Remote Destination,而不像ARCn要先生成歸檔,再傳輸歸檔.)
5 Network Tuning for Log Transport Services
The process of archiving redo logs involves reading a buffer from the redo log and writing it to the archive log location. When the destination is remote, the buffer is written to the archive log location over the network using Oracle Net services.
The default archive log buffer size is 1 megabyte. The default transfer buffer size for Oracle Net is 2 kilobytes.
(歸檔的Buffer Size和Oracle Net 的Buffer Size)
The Oracle Net parameter that controls the transport size is session data unit (SDU). This parameter can be adjusted to reduce the number of network packets that are transmitted. This parameter allows a range of 512 bytes to 32 kilobytes.
for example:
netserv=(DESCRIPTION=(SDU=32768)(ADDRESS=(PROTOCOL=tcp)(HOST=host) (PORT=1521)) (CONNECT_DATA=(SERVICE_NAME=srvc)(ORACLE_HOME=/oracle)))
If you archive to a remote site using high-latency/high-bandwidth connections, you can improve performance by increasing the TCP send and receive window sizes. Use caution, however, because this may adversely affect networked applications that do not exhibit the same characteristics as archiving. This method consumes alarge amount of system resources.
(謹慎使用這個功能選項.)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10248702/viewspace-629929/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- DG學習筆記(5)_Standby Redo Log筆記
- DG學習筆記(7)_保護模式筆記模式
- DG學習筆記(8)_Switchover and Failover筆記AI
- DG學習筆記(1)_入門介紹筆記
- DG學習筆記(2)_體系結構筆記
- DG學習筆記(9)_備份與RAC筆記
- DG學習筆記(12)_相關檢視筆記
- DG學習筆記(6)_LOG_ARCHIVE_DEST_N引數的各個屬性筆記Hive
- dbms_service與dba_services_v$services學習筆記(oracle10g rac)筆記Oracle
- oracle 11g dg搭建筆記Oracle筆記
- 學習筆記:MySQL Cluster 的binlog筆記MySql
- Tensorflow學習筆記No.11筆記
- Oracle DG管理Redo Transport服務Oracle
- 【Go學習筆記11】併發(一)Go筆記
- Ext學習筆記11-佈局筆記
- DG學習筆記(4)_建立物理Standby步驟及注意事項筆記
- 轉:SAP學習筆記(from 神話blog)筆記
- 7 Redo Transport Services 日誌傳輸服務
- 強化學習-學習筆記11 | 解決高估問題強化學習筆記
- numpy的學習筆記\pandas學習筆記筆記
- 2011寒假-joomla學習筆記OOM筆記
- Object C學習筆記11-陣列Object筆記陣列
- C++11 學習筆記 lambda表示式筆記
- GoldenGate學習筆記(11)_常用引數Go筆記
- 機器學習演算法:Logistic迴歸學習筆記機器學習演算法筆記
- RMAN學習筆記_Catalog 安裝與御載筆記
- IT學習筆記筆記
- 學習筆記筆記
- 2018-11-12學習筆記筆記
- ES學習筆記(11)--ES6中物件筆記物件
- 檢視提交歷史 —— Git 學習筆記 11Git筆記
- Javascript學習筆記——4.11 賦值表示式JavaScript筆記賦值
- C#學習筆記——Show()與ShowDialog()的區別C#筆記
- 【學習筆記】數學筆記
- 《JAVA學習指南》學習筆記Java筆記
- .NET 5學習筆記(11)—— Host Blazor WebAssembly in a Windows Service筆記BlazorWebWindows
- 學習筆記(11)商品上架與ES檢索筆記
- 2020-11-17 redis學習筆記Redis筆記