Oracle Log File loss (ORA-O1109: Database not open) Solution

Source: Internet
Author: User

Oracle Log File loss (ORA-O1109: the database is not open) solution after deleting the oracle11g tablespace file by mistake, the database is not open the cause of the above problem is mistakenly put 'f: \ ORADB. DEF 'the data file is deleted. This deletion method is not normal. If the user and tablespace are deleted, then the data file is deleted, however, this operation only deletes the data file, and the user and tablespace are still there. Solution: 1) mount database: startup mount; 2) offline drop Data File: alter database datafile '<full_path_file_name> 'offline DROP; 3) open database: alter database open; ps: in this case, you can open the database again. 4) Delete the tablespace: ps: If it is accidentally deleted, you only need to recreate the tablespace. Action: SQL> startup mount ORA-01081: unable to start a running ORACLE-Close it first SQL> shutdown immediate ORA-01109: the database has not opened the detached database. The ORACLE routine has been disabled. The SQL> startup mount ORACLE routine has been started. Variable Size 167775108 bytes Database Buffers 436207616 bytes Redo Buffers 7135232 bytes Database load is complete. SQL> alter database datafile 'f: \ ORADB. DEF 'offline drop Fixed Size 1250428 bytes 2; the database has been changed. SQL> alter database open; the database has been changed. SQL> drop tablespace oradb including contents; The tablespace has been deleted.

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.