ORA-01113: File 1 requires media recovery

Source: Internet
Author: User

Two days ago, due to forced shutdown, data files in the database were damaged. One database cannot be started and the media needs to be restored. Follow the online method:

Login data: sqlplus "/as sysdba"

Disable data: shutdown immediate;

Then start the data: startup;

An error was reported during startup:

ORA-01113: File 1 requires media recovery

ORA-01110: Data File 1: 'd: \ ORADATA \ gjjj1_1.dmp'

Then shut down the database: shutdown immediate;

Enable the database: startup mount;

Then: recover datafile 'd: \ ORADATA \ gjjj1_1.dmp ';

I recovered a file and a file, that is to say, after I restored the file, I closed the database and restarted it. This was done for about 7 or 8 times. Later, I can restore all the database files at a time, so that I don't need to enable or close the database 7 or 8 times.

Two days ago, due to forced shutdown, data files in the database were damaged. One database cannot be started and the media needs to be restored. Follow the online method:

Login data: sqlplus "/as sysdba"

Disable data: shutdown immediate;

Then start the data: startup;

An error was reported during startup:

ORA-01113: File 1 requires media recovery

ORA-01110: Data File 1: 'd: \ ORADATA \ gjjj1_1.dmp'

Then shut down the database: shutdown immediate;

Enable the database: startup mount;

Then: recover datafile 'd: \ ORADATA \ gjjj1_1.dmp ';

I recovered a file and a file, that is to say, after I restored the file, I closed the database and restarted it. This was done for about 7 or 8 times. Later, I can restore all the database files at a time, so that I don't need to enable or close the database 7 or 8 times.

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.