1、处于归档模式。
2、日志文件多工。
3、控制文件多工。(可以不做但需备份)
rac中日志文件,不用多工用asm管理就不用多工了。
单实例下日志文件必须多工,没有asm去管理。
日志多工
select * from v$logfile order by group#;
sql> alter database add logfile member '/u01/oracle/oradata/qbjmes/redo1.log' to group 1;
database altered.
sql> alter database add logfile member '/u01/oracle/oradata/qbjmes/redo2.log' to group 2;
alter database add logfile member '/u01/oracle/oradata/qbjmes/redo3.log' to group 3;
控制文件多工
sql> alter system set control_files='/u01/oracle/oradata/qbjmes/control01.ctl,/u01/oracle/oradata/qbjmes/control1.ctl,/u01/oracle/fast_recovery_area/qbjmes/control02.ctl,/u01/oracle/fast_recovery_area/qbjmes/control2.ctl' scope=spfile;
s ~]$ cp /u01/oracle/oradata/qbjmes/control01.ctl /u01/oracle/oradata/qbjmes/control1.ctl
[oracle@qbjmes ~]$ cp /u01/oracle/fast_recovery_area/qbjmes/control02.ctl /u01/oracle/fast_recovery_area/qbjmes/contr
shutdown immediate
startup