ORA-01113: file n requires media recovery

Source: Internet
Author: User

When you use alter database to move a data file, after you run the alter database rename <source file path> to <des file path> command, try to open{
Tagshow (event, '% Ca % fd % be % DD % BF % e2 ');
} "Href =" http://www.cnblogs.com/wuhenke/admin/javascript:; "target =" _ Self ">Database
: Alter database open. Error:

ORA-01113: file 7 media recovery required

ORA-01110: data file 7 : 'e: oracle \ product \ 10.2.0 \ oradata \ orcl \ test01.dbf '.

This is because the database considers this data file to be damaged and requires recover command {
tagshow (event, '% B1 % B8 % B7 % dd ');
} "href =" http://www.cnblogs.com/wuhenke/admin/javascript:; "target =" _ Self "> Backup
, log information to restore. Database Backup Recovery is a complex problem, but the solution for this instance is relatively simple.

Run the following command:

Recover datafile 'e: oracle \ product \ 10.2.0 \ oradata \ orcl \ test01.dbf'

Prompt for media recovery, and then open the database: Alter database open. Everything works.

(Reproduced from: http://blog.csdn.net/libingquan008/archive/2010/11/19/6021441.aspx)

Run the alter database open command to check whether other data files are damaged and restore them until all files are normal.

 

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.