11g R2 RAC 环境下开启归档模式的方法

本文介绍了在Oracle 11g R2 RAC环境中开启归档模式的两种方法。官方文档建议在所有实例中设置cluster_database参数为TRUE,并详细阐述了相关步骤。此外,还提及了一种网络上流传的方法,虽然未验证,但其核心思路与官方方法一致。开启归档模式通常涉及修改参数和控制文件的挂载方式,用于满足特定的数据库维护需求。
摘要由CSDN通过智能技术生成

方法一

首先来看一下官方的文档:

How To Enable Archive Logging In RAC Environment [ID 1186764.1]	转到底部	
修改时间:2011-6-2类型:HOWTO状态:PUBLISHED优先级:3	注释 (0)				
In this Document
  Goal
  Solution
  References

Applies to:

Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 11.2.0.2 - Release: 10.1 to 11.2
Information in this document applies to any platform.
Goal
How to enable database archivelog in RAC configuration?

Solution
The following steps need to be taken to enable archive logging in a RAC database environment:

-- shutdown immediate all database instances
$ srvctl stop database -d <db_unique_name>

-- startup database in mount mode
$ srvctl start database -d <db_unique_name> -o mount

-- enable archvive logging
$ sqlplus / as sysdba
sql> alter database archivelog;
sql> exit;

-- stop database
$ srvctl stop database -d <db_unique_name>

-- restart all database instances
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值