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

前端之家收集整理的这篇文章主要介绍了oracle 11g rac开启归档日志和闪回前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

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

原文链接:https://www.f2er.com/oracle/212442.html

猜你在找的Oracle相关文章