Below are steps to resolve an Issue
Error details:
SQL> startup
ORACLE instance started.
Total System Global Area 701046856 bytes
Fixed Size 454728 bytes
Variable Size 377487360 bytes
Database Buffers 321912832 bytes
Redo Buffers 1191936 bytes
Database mounted.
Errors in file e:\app\cabinda02\diag\rdbms\orcl\orcl\trace\orcl_m000_3660.trc:
ORA-00322: log 3 of thread 1 is not current copy
ORA-00312: online log 3 thread 1: 'E:\APP\CABINDA02\ORADATA\ORCL\REDO03.LOG'
Solution:
SQL> shut immediate
SQL> startup mount
ORACLE instance started.
Total System Global Area 2538741760 bytes
Fixed Size 2257872 bytes
Variable Size 889195568 bytes
Database Buffers 1627389952 bytes
Redo Buffers 19898368 bytes
Database mounted.
SQL> recover database using backup controlfile;
Apply all the redolog files ( specify entire redolog file location path ) until success the media recovery.After Media recovery is completed open the database with RESETLOGS option.
SQL> ALTER DATABASE OPEN RESETLOGS;
Please share your feed back.
ORACLE instance started.
Total System Global Area 2538741760 bytes
Fixed Size 2257872 bytes
Variable Size 889195568 bytes
Database Buffers 1627389952 bytes
Redo Buffers 19898368 bytes
Database mounted.
SQL> recover database using backup controlfile;
Apply all the redolog files ( specify entire redolog file location path ) until success the media recovery.After Media recovery is completed open the database with RESETLOGS option.
SQL> ALTER DATABASE OPEN RESETLOGS;
Please share your feed back.
5 comments:
Perfect, worked all the way. I had to describe the complete path
Thank you very much ^_^
Thanks lot
you are a life saver
thank you :)
Post a Comment