`

How To Enable Archive Logging In RAC Environment [ID 1186764.1]

 
阅读更多
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
$ srvctl start database -d <db_unique_name>

-- verify archiving is enabled 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).

To disable archive logging, follow the same steps but use the NOARCHIVELOG 
clause of the ALTER DATABASE statement.--这儿如果从归档切换回非归档,按照同样的步骤设置为NOARCHIVELOG即可

References

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

 

参考至:http://blog.csdn.net/dbcommando/article/details/7925861

如有错误,欢迎指正

邮箱:czmcj@163.com

 

 

分享到:
评论

相关推荐

    commons-logging.jar

    commons-logging-1.0-javadoc.jar, commons-logging-1.0.1-javadoc.jar, commons-logging-1.0.1.jar, commons-logging-1.0.2-javadoc.jar, commons-logging-1.0.2.jar, commons-logging-1.0.3-...commons_logging.jar

    jboss-logging-3.4.3.Final-API文档-中文版.zip

    赠送jar包:jboss-logging-3.4.3.Final.jar; 赠送原API文档:jboss-logging-3.4.3.Final-javadoc.jar; 赠送源代码:jboss-logging-3.4.3.Final-sources.jar; 赠送Maven依赖信息文件:jboss-logging-3.4.3.Final....

    jboss-logging-3.1.0.ga.jar.z

    import org.jboss.logging.Logger; public class MyClass { private static final Logger logger = Logger.getLogger(MyClass.class); public void myMethod() { logger.info("This is an informational ...

    com.springsource.org.apache.commons.logging-sources-1.1.1.jar

    com.springsource.org.apache.commons.logging-sources-1.1.1.jar

    java.util.logging.Logger使用详解

    ### Java.util.logging.Logger 使用详解 #### 一、创建Logger对象 在Java中,`java.util.logging.Logger` 是标准的日志框架之一,它提供了基础的日志记录功能。为了使用这一功能,首先需要获得 `java.util.logging...

    springsource.org.apache.commons.logging-1.1.1.jar

    com.springsource.org.apache.commons.logging-1.1.1.jar

    jboss-logging-3.4.1.Final-API文档-中文版.zip

    赠送jar包:jboss-logging-3.4.1.Final.jar; 赠送原API文档:jboss-logging-3.4.1.Final-javadoc.jar; 赠送源代码:jboss-logging-3.4.1.Final-sources.jar; 赠送Maven依赖信息文件:jboss-logging-3.4.1.Final....

    commons-logging-1.2-bin.zip下载

    3. 在代码中创建 `org.apache.commons.logging.Log` 对象,通常通过 `LogFactory.getLog(Class)` 方法获取,然后使用其方法(如 `debug()`, `info()`, `warn()`, `error()` 和 `fatal()`)记录日志。 在某些情况下...

    How is logging implemented in OSS?

    In this paper, we carried out an empirical study to explore the logging practice in open source software projects so as to establish a basic understanding on how logging practice is applied in real ...

    Python库 | logging_kernel-1.13.tar.gz

    资源分类:Python库 所属语言:Python 资源全名:logging_kernel-1.13.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059

    jboss-logging-3.1.3.GA.jar.zip

    java jar包,亲测试可用 安全,可以对其进行数字签名,只让能够识别数字签名的用户使用里面的东西。 加快下载速度; 压缩,使文件变小,与ZIP压缩机制完全相同。 ...能够让JAR包里面的文件依赖于统一版本的类文件。...

    jboss-logging-3.3.2.Final-API文档-中文版.zip

    赠送jar包:jboss-logging-3.3.2.Final.jar; 赠送原API文档:jboss-logging-3.3.2.Final-javadoc.jar; 赠送源代码:jboss-logging-3.3.2.Final-sources.jar; 赠送Maven依赖信息文件:jboss-logging-3.3.2.Final....

    quartz2.6.2+Common.Logging.Core+Common.Logging.rar

    在标题中提到的"quartz2.6.2+Common.Logging.Core+Common.Logging.rar",表明这个压缩包包含了Quartz.NET 2.6.2版本,以及两个与日志记录相关的库:Common.Logging.Core和Common.Logging。这些库是.NET开发中的重要...

    commons-logging.jar log4j.jar

    "commons-logging.jar" 和 "log4j.jar" 是两个广泛使用的Java日志框架,它们在Java应用开发中扮演着至关重要的角色。 **commons-logging.jar** 是Apache Commons Logging库,它提供了一个统一的日志接口,允许...

    logging-interceptor-3.14.4.jar

    logging-interceptor-3.14.4的jar包,用于okhttp网络拦截器

    jboss-logging.jar,jboss-common.jar

    java.lang.NoSuchMethodError: org.jboss.logging.Logger.getMessageLogger(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object; 错误解决办法

    jboss-logging-3.4.2.Final-API文档-中文版.zip

    赠送jar包:jboss-logging-3.4.2.Final.jar; 赠送原API文档:jboss-logging-3.4.2.Final-javadoc.jar; 赠送源代码:jboss-logging-3.4.2.Final-sources.jar; 赠送Maven依赖信息文件:jboss-logging-3.4.2.Final....

    jboss-logging-3.3.2.Final.jar

    jboss-logging-3.3.2.Final.jar

    Common.Logging-2.1.1.4543.zip

    这个库的版本是2.1.1.4543,它是一个C#项目,旨在简化.NET应用中的日志处理。 在提供的压缩包中,我们可以看到以下几个关键文件: 1. **Common.Logging.build**:这是一个构建脚本,可能包含了构建该项目的MSBuild...

    mybatis源码中文注释.zip

    org.apache.ibatis.logging.commons org.apache.ibatis.logging.jdbc org.apache.ibatis.logging.jdk14 org.apache.ibatis.logging.log4j org.apache.ibatis.logging.log4j2 org.apache.ibatis.logging.nologging ...

Global site tag (gtag.js) - Google Analytics