SAPDBA Recovery: SYSTEM Tablespace Missing

One or more files of the SYSTEM tablespace has been damaged or lost due to a media error.

Backups of the affected files exist. All offline redo log files that have been written since the last backup are available uninterrupted. The control files and all online redo log files are undamaged.

Recovery Procedure

Because the SYSTEM tablespace is affected, the recovery must take place with the database closed. If a backup of the missing files and all redo log entries are available, a complete recovery is possible.

  1. If the database system is still active, use the following SVRMGR command to shut it down:
  2. shutdown abort

    ABORT is required because the loss of individual files from the tablespace means that the changes from SGA can no longer be recorded, and the database cannot be closed properly as a result.

  3. Examine the ALERT and trace files to determine the cause of the problem.
  4. Use the log files created by the SAP utilities BRBACKUP and BRARCHIVE to find the volume(s) containing the following files:
  5. – Last backup of the SYSTEM tablespace

    – Offline redo log files of all instances archived since the last backup

  6. Restore the backups of the damaged/lost files and the archived offline redo log files of all instances.
  7. Use the SAP utility BRRESTORE (see Command Options for BRRESTORE).

  8. Mount the database. Enter the following SVRMGR commands:
  9. connect internal

    startup mount

  10. You may have to change the names and paths of the files in the control file. See
  11. Updating the Control File.
  12. The database administrator can automate the recovery using the
  13. autorecovery option. See Automating the Recovery. Also read the corresponding ORACLE documentation.
  14. Use the following SVRMGR command to start the recovery:
  15. recover database;

  16. Depending on the recovery mode (
  17. autorecovery on/off), the required offline redo log files are either processed automatically or you will have to enter their paths and names. The system reads the online redo log files automatically.
  18. 1When the message
  19. recovery complete is displayed, use the following SVRMGR command to open the database again:

alter database open;


Please note: in most cases, SAPDBA can be used to correct media errors affecting the data files of a user tablespace. Therefore, we recommend using the SAPDBA recovery functions (see SAPDBA Database Recovery).

No comments:

topics