RMAN recovery-system tablespace recovery

Source: Internet
Author: User
The system tablespace stores the data dictionary information. When the database is in the open state, if the data file corresponding to the system tablespace fails to contain media

The system tablespace stores the data dictionary information. When the database is in the open state, if the data file corresponding to the system tablespace fails to contain media

Restore data files in the system tablespace
The system tablespace stores the data dictionary information. When the database is in the open state and the data file corresponding to the system tablespace fails, the database will automatically shut down when I/O operations are performed on the data file; when the database is closed, if the data file corresponding to the system tablespace fails, the database cannot be opened.
Restoring the system tablespace must be in the mount state.
Example 1 the data file in the system tablespace is deleted by mistake.
Back up the database.
Delete the data file corresponding to the system tablespace.
Start the database to the mount status.
Use restore datafile to dump data files, use the recover datafile command to apply archive logs, and finally use alter database open to open the database.Example 2: the disk where the system tablespace data file is located is faulty.
Back up a database (omitted)
Delete the data file corresponding to the system tablespace.
Start the database to the mount status.
Before restore database, run set newname to specify a new location for the data file.
After the restore database, Run switch datafile to change the location and name of the data file in the control file.
Then, archive logs by executing the recover database application.
Finally, execute alter database open to open the database.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.