Solution after the dbf File of Oracle is deleted by mistake

Source: Internet
Author: User

Solution after the dbf File of Oracle is deleted by mistake: www.2cto.com deletes the dbf file of the Oracle database by mistake. An error is prompted when the database is started or shut down. Startup prompts when starting the database: ORA-01157: unable to identify/lock the data file ORA-01110: Data File :'...... /X1000_1.dbf: 1. SQL> alter system set "_ allow_resetlogs_uption" = true scope = spfile; System altered. 2, SQL> shutdown immediate ORA-01109: the database has not opened the unmounted database ORACLE routine has been closed 3, SQL> startup mount ORACLE routine has been started ........ database Load completed 4. alter database datafile '... /X1000_1.dbf 'offline drop; database changed; 5. alter database open; database changed; 6. Connect to database SQL> conn SC The connection problem of ada/scada has been solved.

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.