Recovery method of Oracle database after AIX system crash

Source: Internet
Author: User
Tags file permissions

The first step is to ensure the integrity of the database instance, including control files, log files, table spaces (System tablespace, user tablespace, and so on).

Create a new database instance with the same name (table space, user, etc. not required).

Sql>shutdown immediate Closing the database

Then copy the original file to the new instance folder, or rename the new instance folder and put the original instance folder in the same directory

Sql>startup mount loading the original instance, may appear control file not writable and other related errors, then can set the file permissions for the readable writable executable (3 need to set), after the successful loading

Sql>select * from v$tablespace view table space name

Sql>alter database open to start the databases, if the table space is missing, you need to delete the corresponding table space to continue

Sql>alter database datafile ' miss_filename ' offline drop, where Miss_filename is a missing file name and contains the full path

Recovery database; The missing file name can be displayed, and finally

Sql>alter database open;

Recovery method of Oracle database after AIX system crash

Related Article

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.