Solution to Database Failure Caused by physically deleting DBF Files

Source: Internet
Author: User


The solution for physically deleting the DBF File causes the database to fail to work properly. Because the space on the E disk where the local oracle installation is located is insufficient, the unused data file E is: \ ORACLE \ PRODUCT \ 10.2.0 \ ORADATA \ ORCL \ TCM_BM.DBF is directly physically deleted, and www.2cto.com causes normal database users to log on normally. Solution: log on to the database with the sys user and execute the command: SQL> alter database open; alter database open ORA-01157: unable to identify/lock data files 6-see DBWR trace file ORA-01110: data file 6: 'e: \ ORACLE \ PRODUCT \ 10.2.0 \ ORADATA \ ORCL \ tcm_bm.dbf' Delete the data file in non-archive mode (the file has been physically deleted, the purpose here is to delete the file ing): SQL> alter database datafile 'e: \ ORACLE \ PRODUCT \ 10.2.0 \ ORADATA \ ORCL \ tcm_bm.dbf' offline drop; Database altered SQL> alter database open; database altered the common oracle account can be used normally at this time.

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.