亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

Redo Transport Compression in a Data Guard Environment (文檔 ID 729551.1)

發布時間:2020-08-08 08:08:09 來源:ITPUB博客 閱讀:167 作者:guocun09 欄目:關系型數據庫

Redo Transport Compression in a Data Guard Environment (文檔 ID 729551.1)

轉到底部



In this Document

Purpose

Scope

Details

 

Enabling Data Guard Redo Transport Compression

 

Test Results and Other Guidance

 

Enabling Data Guard Redo Transport Compression for ASYNC when using Oracle Database 11g Release 1

 

How to estimate the compression ratio that can be achieved:

References


APPLIES TO:

Oracle Database - Enterprise Edition - Version 11.1.0.6 to 11.2.0.3 [Release 11.1 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 16-Jul-2014*** 

PURPOSE

Oracle Database 11g has the ability to compress redo as it is transmitted over a network by Data Guard Redo Transport Services.

In certain environments, redo compression can:

·         Improve data protection by reducing redo transport lag

·         Reduce network utilization

·         Provide faster redo gap resolution

·         Reduce redo transfer time

Redo transport compression is a feature of the Oracle Advanced Compression option. You must purchase a license for this option before using the redo transport compression feature.  Compression of redo transport for versions prior to Oracle Database 11g Release 1 can be accomplished using third party WAN accelerators, such as those available from Cisco, Riverbed, F5, and other vendors.

SCOPE

Compression is most beneficial in achieving recovery point objectives (RPO) when used over low bandwidth networks. As a general statement, as network bandwidth increases, the RPO benefit is reduced. Compressing redo in a Data Guard environment is particularly beneficial if:

  • The database redo rate is higher than the available network bandwidth.
  • Sufficient CPU resources are available for the compression processing.

CPU consumption will increase in higher network bandwidth environments since potentially a larger percentage of time is spent compressing redo compared to transmitting redo. For example, gap resolution testing showed that with OC1 (51.8 Mbits/sec) and T3 (44.7 Mbits/sec) networks, 50% of one CPU was consumed per ARCH process during the compression operation, while with a 100Mbits network an entire CPU was consumed per ARCH process.

If reducing RPO in the case of disaster is a priority then compression is not recommended for network bandwidths above100 Mbits/sec, since the process of compression can actually increase overall redo transfer time. If reduced network utilization is a priority over RPO, evaluate compression even with high network bandwidths. Oracle recommends testing to determine the degree of benefit that will be realized.

DETAILS

From Oracle Database 11g Release 2 onward, setting the COMPRESSION attribute of the redo transport destination will compress redo transmitted by all Data Guard transport methods (SYNC, ASYNC, ARCH), including redo transmitted to resolve archive log gaps, and all Data Guard protection modes (Maximum Protection, Maximum Availability, and Maximum Performance).

In Oracle Database 11g Release 1, setting the COMPRESSION attribute of the redo transport destination will only compress redo transmitted to resolve an archive log gap. Oracle also supports compression of ASYNC and ARCH redo transport (Maximum Performance) by using a hidden parameter in conjunction with enabling the COMPRESSION attribute as documented below.

Enabling Data Guard Redo Transport Compression

To enable compression, set the COMPRESSION attribute of the redo transport destination to ENABLE. For example:

LOG_ARCHIVE_DEST_2='SERVICE=boston COMPRESSION=ENABLE DB_UNIQUE_NAME=boston'


If using Data Guard Broker, specify the following syntax:

DGMGRL> EDIT DATABASE 'boston' SET PROPERTY 'RedoCompression' = ENABLE;

 

Test Results and Other Guidance

Oracle MAA testing showed that with a redo compression ratio of 35% or more, redo transmission time was reduced by 15-35%.

                                               Network Throughput

Network Bandwidth

Compression Disabled

Compression Enabled

11 Mbit

1.3 MB/sec

2.1 MB/sec

22 Mbit

2.8 MB/sec

4.2 MB/sec

45 Mbit

5.7 MB/sec

8.5 MB/sec

90 Mbit

11.3 MB/sec

13.4 MB/sec


Oracle MAA testing showed the following benefits when testing with a low bandwidth network (less than 100Mbits/sec) and high redo generation rate (> 20 MB/sec) where the redo compression ratio was 60%:

  • Redo transport lag consistently remained less than 10 seconds even though the database redo rate far exceeded the network throughput. In previous test runs where compression was not enabled, redo transmission could not keep pace with redo generation, and redo transport lag continued to increase linearly over time for the duration of the test making it impossible to achieve recovery point objectives.
  • Minimum impact on production workload when sufficient CPU and IO resources are available.

In addition, Oracle MAA testing showed:

  • Gap resolution time was reduced by 35-60%
  • Network latency did not impact network throughput
  • Using the MAX_CONNECTIONS attribute to transmit redo in multiple network sessions showed no benefit.

 

Enabling Data Guard Redo Transport Compression for ASYNC when using Oracle Database 11g Release 1

To enable compression when using ASYNC or ARCH redo transport mode and Oracle Database 11g Release 1, set the COMPRESSION attribute of the redo transport destination to ENABLE, and set the initialization parameter _REDO_TRANSPORT_COMPRESS_ALL to TRUE (this initialization parameter is not needed from Oracle Database 11g Release 2 onward). For example:

LOG_ARCHIVE_DEST_2='SERVICE=boston ASYNC COMPRESSION=ENABLE DB_UNIQUE_NAME=boston'

_REDO_TRANSPORT_COMPRESS_ALL=TRUE


If using Data Guard Broker, then you must set the _REDO_TRANSPORT_COMPRESS_ALL=TRUE parameter in the database parameter file as stated above.  To enable the COMPRESSION attribute on the LOG_ARCHIVE_DEST parameter you must edit the database property within DGMGRL as specified below:

DGMGRL> EDIT DATABASE 'boston' SET PROPERTY 'RedoCompression' = ENABLE;

 

 

How to estimate the compression ratio that can be achieved:

Data Guard redo transport compression uses the same zlib compression engine at level 1 as gzip -1. To estimate the compression ratio you can achieve using Data Guard redo transport compression, first compress an archived redo log file with gzip:

$ gzip -1 .arc

Then use the gzip --list option to explicitly display the compression ratio:

$ gzip --list .gz

Note: Use gzip version 1.3.3 or later. Refer to www.gzip.org for the latest information on gzip.

 

 

For more details please check also

Oracle Data Guard and SSH (Doc ID 751528.1)

 

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

福建省| 三明市| 阳江市| 泽库县| 阳朔县| 佳木斯市| 额敏县| 常山县| 仁布县| 五莲县| 镶黄旗| 东平县| 泊头市| 土默特右旗| 东港市| 乐平市| 南昌县| 威海市| 襄城县| 九江县| 睢宁县| 桐乡市| 陈巴尔虎旗| 潢川县| 辽中县| 墨脱县| 建始县| 文水县| 博罗县| 佛学| 垫江县| 建湖县| 红桥区| 盐源县| 睢宁县| 乌鲁木齐县| 剑川县| 孙吴县| 常德市| 昭通市| 抚宁县|