Chinaunix首页 | 论坛 | 博客
  • 博客访问: 968943
  • 博文数量: 584
  • 博客积分: 2293
  • 博客等级: 大尉
  • 技术积分: 3045
  • 用 户 组: 普通用户
  • 注册时间: 2006-03-28 11:15
文章分类

全部博文(584)

文章存档

2012年(532)

2011年(47)

2009年(5)

我的朋友

分类:

2012-06-13 22:11:00

原文地址:RAC设置不同的归档路径 作者:zrp999

1.先设置好每个节点的归档路径,再开启归档。

 

alter system set log_archive_dest_1='LOCATION=+FRA/demo/arch1' sid='demo1';

System altered.

alter system set log_archive_dest_1='LOCATION=+FRA/demo/arch2' sid='demo2';

System altered.

 

2.开启归档

 

SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;                     
ORACLE instance started.

Total System Global Area  218103808 bytes
Fixed Size                  1260032 bytes
Variable Size              75499008 bytes
Database Buffers          138412032 bytes
Redo Buffers                2932736 bytes
Database mounted.
SQL> alter database archivelog;
Database altered.

SQL> alter database open;
Database altered.

SQL> archive log list;
Database log mode              Archive Mode
Automatic archival             Enabled
Archive destination            +FRA/demo/arch1
Oldest online log sequence     3
Next log sequence to archive   4
Current log sequence           4

阅读(419) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~