Question : ORA-00310

Still trying to get a successful restore test.  I just created a tablespace, switched logfiles a few times to get logs generated, dropped the tablespace switched logs a few more times, shutdown the database and startup mount.  Now oracle is saying the logfile is out of sequence.
I just generated them a few minutes ago with the switch logfiles.  How does it get out of sequence and how do i put it back into sequence?


tabase mounted.
SQL> recover database using backup controlfile until time '2008-12-23-18:30:00';
ORA-00283: recovery session canceled due to errors
ORA-19907: recovery time or SCN does not belong to recovered incarnation


SQL> recover database using backup controlfile until time '2008-12-24-05:30:00';
ORA-00279: change 3340812685180 generated at 12/24/2008 05:37:15 needed for
thread 1
ORA-00289: suggestion : /u04/archived_logs/1_16_674269303.arc
ORA-00280: change 3340812685180 for thread 1 is in sequence #16


Specify log: {=suggested | filename | AUTO | CANCEL}
/u04/archived_logs/1_1_674269303.arc
ORA-00310: archived log contains sequence 1; sequence 16 required
ORA-00334: archived log: '/u04/archived_logs/1_1_674269303.arc'


SQL>

Answer : ORA-00310

see my other post..  
you have to delete the datafile and bring them back from a backup taken before the DROP.

then, apply logs to roll forward.

Random Solutions  
 
programming4us programming4us