oracle rac的归档日志,oracle 11g rac开启归档日志和闪回

oracle 11g rac开启归档日志和闪回

发布时间:2020-07-01 06:21:14

来源:51CTO

阅读:2084

作者:z597011036

栏目:数据库

1.查看数据库是否开启归档(查看两个节点rac1和rac2是否开归档日志)

SQL> archiveloglist

SP2-0734: unknown command beginning "archivelog..." - rest of line ignored.

SQL> archive log list

Database log mode              No Archive Mode

Automatic archival             Disabled

Archive destination            USE_DB_RECOVERY_FILE_DEST

Oldest online log sequence     7

Current log sequence           8

SQL>

2.在节点1(rac1)中设置只修改节点1的参数,不影响节点2.

SQL> alter system set cluster_database=false scope=spfile sid='racdb1';

System altered.

SQL>

3.在节点1(rac1)用srvctl命令关闭数据库

[oracle@rac1 ~]$ srvctl stop database -d racdb

4.挂载数据库,日志修改为归档

SQ

你可能感兴趣的:(oracle,rac的归档日志)