How to delete Oracle redo logs, no recovery necessary
Posted on 2008-06-11
my Oracle system has crashed badly so redo logs are corrupt. It is a development database so data is of no importance.
What I want is to just use the database server again.
Due to redo log corruption I cannot even open database, because it wants to reaply transactions and fails every time. I don't care for the data, just want to be able to use the database server.
I wish I could just set some option on Oracle to COMPLETELY DISABLE redo logs and then DELETED them and start using database again.
I tried playing with recovery and clearlogs, but i got stuck with 3 transactions left :-(.
SQL> recover database until time '2008-06-11';
ORA-00283: recovery session canceled due to errors
ORA-00314: log 1 of thread 1, expected sequence# 9053 doesn't match 9050
ORA-00312: online log 1 thread 1:
SQL>alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/mnt/storage/oracle3/oradata/data/system01.dbf'
Its like a running in circles.
Thank you in advance