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.用srvctl命令关闭数据库
[oracle@rac1 ~]$ srvctl stop database -d racdb
本文出自 “一起走过的日子” 博客,请务必保留此出处http://tongcheng.blog.51cto.com/6214144/1857477
原文地址:http://tongcheng.blog.51cto.com/6214144/1857477