Professional Documents
Culture Documents
It is the most widely encountered scenario by most database administrators where we try to
recover database to some previous point in time but the archive logs that we need are
accidentally removed.
Today we will discuss a tricky recover scenario where some development databases need to be
recovered from old backup. The controlfile is successfully recreated but unfortunately the required
archive logs are not there.
Incomplete recovery:
Oracle "UNTIL CANCEL" clause specifies that you are performing an incomplete
recovery. Omitting this clause makes Oracle assume that you want to perform a complete
recovery. Attempting incomplete recover for our database failed with below error.
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01195: online backup of file 1 needs more recovery to be consistent
ORA-01110: data file 1: ‘/u100/oradata/XSCLFY/SYSTEM01_SCLFY.dbf'
ORA-01112: media recovery not started
_ALLOW_RESETLOGS_CORRUPTION Parameter:
Now drop the old corrupted undo tablespace and create a new undo tablespace. After that we
changed back the UNDO_MANAGEMENT parameter to AUTO and UNDO_TABLESPACE to
NEWUNDOTABLESPACE.
It will resolve our issue and database will be up and running without any issue.
Rebuild Database:
Once the database is opened, then immediately rebuild the database by performing a full-
database export, then creating a brand new and separate database, and finally importing the
recent export dump.