ORA-01113: file 7 needing media recovery ORA-01110: data file 7: 'f: \ workfiles \ oracle11g \ oradata \ HTTP \ fwtbs_01.dbf

Source: Internet
Author: User

ORA-01113: file 7 requires media recovery
ORA-01110: data file 7: 'f: \ workfiles \ oracle11g \ oradata \ HTTP \ fwtbs_01.dbf'

Method 1:

ORA-01589: to open the database, you must use the resetlogs or noresetlogs Option
SQL> alter database open noresetlogs;
Alter database open noresetlogs
*
Row 3 has an error:
ORA-01588: to open the database, you must use the resetlogs Option
SQL> alter database open resetlogs;
Alter database open resetlogs
*
Row 3 has an error:
ORA-01113: File 1 requires media recovery
ORA-01110: Data File 1: 'd: \ oradata \ smart \ system01.dbf'
SQL> shutdown immediate
ORA-01109: the database is not open
The database has been detached.
The Oracle routine has been disabled.
SQL> startup Mount;
The Oracle routine has been started.
Total system global area 167772160 bytes
Fixed size 1247900 bytes
Variable Size 79693156 bytes
Database buffers 83886080 bytes
Redo buffers 2945024 bytes
The database has been loaded.

Method 2:

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 openDatabase: Alter
Database open. Error:

ORA-01113: file 7 requires media recovery

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 needs to be usedRecoverCommandBackupAnd log information. 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.

Alter database datafile 7 offline;

Alter database open;

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.