资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

HowToEnable/DisableArchiveLoggingInRACEnvironmentfor10.2andhigherversion

How To Enable/Disable Archive Logging In RAC Environment for 10.2 and higher version

我们一直强调网站建设、网站制作对于企业的重要性,如果您也觉得重要,那么就需要我们慎重对待,选择一个安全靠谱的网站建设公司,企业网站我们建议是要么不做,要么就做好,让网站能真正成为企业发展过程中的有力推手。专业网站制作公司不一定是大公司,创新互联建站作为专业的网络公司选择我们就是放心。

How To Enable/Disable Archive Logging In RAC Environment for 10.2 and higher version (文档 ID 1186764.1)

APPLIES TO:

Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Information in this document applies to any platform.

GOAL

How to enable/disable database archivelog in RAC configuration?

SOLUTION

1. 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

-- startup database in mount mode
$ srvctl start database -d -o mount

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

-- stop database
$ srvctl stop database -d

-- restart all database instances
$ srvctl start database -d

-- verify archiving is enabled/disabled by means of:
sql> archive log list; 

You might need to set your log_archive_dest(_n) parameters to a shared location in each spfile, but the log_archive_start parameter does not need to be set anymore as of 10g (see Note 274302.1).

 

2. To disable archive logging, follow the same steps but use the NOARCHIVELOG clause of the ALTER DATABASE statement.

 

Please note, from 10.2 onwards, it is no longer required to modify cluster_database parameter to change archive log mode. Please refer to

Database Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide
What's New in Oracle Real Application Clusters Administration and Deployment?

"Changing the Archiving Mode

You no longer need to modify the CLUSTER_DATABASE parameter setting to change the archiving mode in Oracle RAC. You can change archive log mode as long as the database is mounted in the local instance and not open in any instances."

REFERENCES

NOTE:274302.1 - ARCHIVELOG mode in Oracle 10g and 11g
NOTE:235158.1 - How To Enable/Disable Archive Log Mode in Real Application Cluster Environment




网页题目:HowToEnable/DisableArchiveLoggingInRACEnvironmentfor10.2andhigherversion
标题来源:http://cdkjz.cn/article/jssodc.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

大客户专线   成都:13518219792   座机:028-86922220