Home  >  Article  >  Database  >  如何开启/关闭oracle的归档

如何开启/关闭oracle的归档

WBOY
WBOYOriginal
2016-06-07 17:45:481191browse

如何开启/关闭oracle的归档

如果是OPS/RAC环境,需要先把parallel_server = true注释掉,然后执行如下步骤,最后用这个参数重新启动

  1、开启归档

  a. 关闭shutdown immediate

  b. startup mount

  c. alter database archivelog

  d. alter database opne

  2、禁止归档

  a. 关闭数据库shutdown immediate

  b. startup mount

  c. alter database noarchivelog

  d. alter database open

  归档信息可以通过如下语句查看

  SQL> archive log list

  Database log mode Archive Mode

  Automatic archival Enabled

  Archive destination E:oracleora92databasearchive

  Oldest online log sequence 131

  Next log sequence to archive 133

  Current log sequence 133

 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn