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; |