????1??RAC???????????鵵?????裺
SQL> alter system set cluster_database=false scope=spfile sid='orcl1';
SQL> alter system set db_recovery_file_dest='+ORAFLASH' scope=spfile;
SQL> alter system set db_recovery_file_dest_size=20g scope=spfile;
$ srvctl stop database -d orcl
$ sqlplus / as sysdba;
SQL> startup mount;
SQL> alter database archivelog;
SQL> alter system set cluster_database=true scope=spfile sid='orcl1';
SQL> shutdown immediate;
$ srvctl start database -d orcl
SQL> select name??log_mode??flashback_on from v$database;
????2??RAC??????????????????裺
????????????????????鵵???У?
SQL> archive log list;
SQL> alter system set cluster_database=false scope=spfile sid='orcl1';
SQL> alter system set db_recovery_file_dest='+ORAFLASH' scope=spfile;
SQL> alter system set db_recovery_file_dest_size=20g scope=spfile;
$ srvctl stop database -d orcl
SQL> startup mount;
SQL> alter database flashback on;
SQL> alter system set cluster_database=true scope=spfile sid='orcl1';
SQL> shutdown immediate;
$ srvctl start database -d orcl
????????????????????????????????????
????SQL> alter tablespace users flashback on;
????SQL> alter tablespace users flashback off;
????SQL> select name??log_mode??flashback_on from v$database;