PFILE
_ALLOW_RESETLOGS_CORRUPTION = true
UNDO_MANAGEMENT = MANUAL
RENAME SPFILE
recover database until cancel;
or
RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL;
cancel
alter database open resetlogs;
it will recreate redologs.
restart oracle services
--------------------IF ERROR: ORA-00600: internal error code, arguments: [2662]
restart oracle services many times
Format: ORA-600 [2662] [a] [b] [c] [d] [e]
The ORA-600 [2662] occurs when an SCN is compared to the dependent SCN
stored in a UGA variable.
If the SCN is less than the dependent SCN then we signal the ORA-600 [2662]
internal error.
ARGUMENTS:
Arg [a] Current SCN WRAP
Arg [b] Current SCN BASE
Arg [c] dependent SCN WRAP
Arg [d] dependent SCN BASE
Arg [e] Where present this is the DBA where the dependent SCN came from.
FUNCTIONALITY:
File and IO buffer management for redo logs
IMPACT:
INSTANCE FAILURE
POSSIBLE PHYSICAL CORRUPTION
--------------------UNDO RECREATION
now undo is corrupted
ORA-00600: internal error code, arguments: [4194]
drop corrupted undo tablespace and create a new undo tablespace.
but database is not able to open due to undo corruption
-----------------------------add following in pfile
undo_management = manual
event = '10513 trace name context forever, level 2'
--------------
Set the Oracle event 10513 before opening the database. This event disables Oracle from rolling back an uncommitted transaction and should be used very carefully.
select file_name,tablespace_name from dba_data_files;
startup restrict pfile=
CREATE UNDO TABLESPACE UNDOTBS2 DATAFILE 'D:\APX1213D\UNDOTBS02.ORA' SIZE 500M REUSE AUTOEXTEND ON;
shut immediate
change undo_tablespace=UNDOTBS2 into parameter file
startup
DROP TABLESPACE UNDOTBS1 INCLUDING CONTENTS AND DATAFILES;
REMOVE ADD PARAMETER FROM PFILE
No comments:
Post a Comment