ITPub博客

首页 > 数据库 > Oracle > CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED

CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED

Oracle 作者:kuqlan 时间:2011-07-15 23:45:04 0 删除 编辑

Applies to:

Oracle Server - Enterprise Edition - Version: 10.1 to 10.2

Information in this document applies to any platform.


Purpose

When using 'configure archive log deletion policy to applied on standby' on primary database, allow RMAN to consider *both* mandatory and optional destinations when determining which logs on primary can be deleted.

[@more@]

Scope and Application

RMAN backups on standby database in Data Guard environment

RMAN backups in Max Performance/Max Availability Data Guard Environment

The 10g RMAN-Data Guard paper states that 'archive log deletion policy applied on standby' only checks that a log has been applied on all mandatory standby databases.

However, Data Guard best practice for Max Performance and Max Availability modes is to *not* use mandatory standby (so that primary does not hang in the event of online logs filling up). Therefore, the following parameter must be set:


_log_deletion_policy='ALL'


This will allow RMAN to delete logs from the Flash Recovery Area on primary database host that have been applied to all standby databases (whether mandatory or optional). Database will require bounce after setting this parameter.


NOTE: To make the change in an spfile, double quotes must be used around parameter name:


alter system set "_log_deletion_policy"=ALL scope=spfile sid='*';


NOTE: attempt to set this configuration in RMAN without this parameter setting may result in error:


RMAN> configure archivelog deletion policy to applied on standby;


new RMAN configuration parameters:

CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;

new RMAN configuration parameters are successfully stored

starting full resync of recovery catalog

full resync complete

RMAN-08591: WARNING: invalid archivelog deletion policy



References

Bug 5261960 - RMAN-8591 STANDBY DESTIONATION MUST BE MANDERATORY WHILE MAX PERFORMANCE


Errors

RMAN-8591 WARNING: invalid archivelog deletion policy


http://www.itpub.net/viewthread.php?tid=957569&extra=&page=1


源文档 <http://orax.blog.sohu.com/82670533.html>

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/18841027/viewspace-1052531/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle技术爱好者,Oracle10g OCM,网名 KUQLAN ,具有7的年Oracle数据库管理实践,曾经参加过BOSS、ERP、云计算(OpenStack+kvm)等项目的一线工作。以前写博客是为了自己,而现在是为了自己和别人。因为领会了帮助别人和分享、沉淀和积累会创造快乐和价值...

注册时间:2009-01-26

  • 博文量
    183
  • 访问量
    1681000