Home > Oracle, RDBMS > Recovery of SYSTEM datafile.

Recovery of SYSTEM datafile.

Assumptions:

  • the database is in archive log mode
  • a solid cold backup is available
  • if the database is close then clean shutdown was performed

– shutdown the database

SHUTDOWN IMMEDIATE;

– restore the system01.dbf from the latest backup to the datafile location
– mount the database

STARTUP MOUNT;

– identify the datafile which needs recovery

select * from v$recover_file;

– recover the datafile

RECOVER DATAFILE <file_number>;

– open the database

ALTER DATABASE OPEN;

Hope, this helps.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: