Beruflich Dokumente
Kultur Dokumente
INSTANCE_NAME VERSION
---------------- -----------------
opsdba 10.2.0.2.0
MEMBER
-------------------------------
/u02/ORACLE/opsdba/redo03.log
/u02/ORACLE/opsdba/redo02.log
/u02/ORACLE/opsdba/redo01.log
opsdba:/u02/ORACLE/opsdba>rm redo*.log
If one or all of the online redo logfiles are delete then the
database hangs and in the alert log file we can see the following
error message:
From the error message in the log file we can get the last
archived file in our case it is sequence 92 as the error shows
that it fails to archive the log file sequence 93.
opsdba:/u02/ORACLE/opsdba/arch> ls –lrt
total 54824
-rw-r----- 1 oracle dba 714240 Jan 29 16:02
arch_1_90_613129285.dbf
-rw-r----- 1 oracle dba 46281216 Jan 30 00:37
arch_1_91_613129285.dbf
-rw-r----- 1 oracle dba 11264 Jan 30 00:41
arch_1_92_613129285.dbf
RMAN> run {
2> set until sequence 93;
3> restore database;
4> recover database;
5> alter database open resetlogs;
6> }
database opened
RMAN>exit
NOTE: Please make sure you remove all the old archived logfiles
from the archived area.