Oracle 11g Manual removal of tablespace files results in database error handling methods

Source: Internet
Author: User

The simple reason: When the diagram is convenient to not enter the database, directly in the datafile directory to delete the table space corresponding data file

result in subsequent database error and cannot delete table space

errors are as follows;
Ora-01116:error in Opening database * * * *
Ora-01110:data file: '/home3/datafile/arrange/newarrange.dbf '
Ora-27041:unable to open File
Linux error:2: No Such file or directory
Additional Information:3


ALTER DATABASE datafile '/HOT/ORADATA/SMSDBMT_INDX01.DBF ' offline drop;
ALTER DATABASE datafile '/HOT/ORADATA/SMSDBMT_INDX01.DBF ' offline drop
*
ERROR at line 1:
Ora-01516:nonexistent log file, data file, or temporary file
"/HOT/ORADATA/SMSDBMT_INDX01.DBF"


Workaround:

1, close the database first

sql> Shutdown Immediate-----error

sql> Shutdown Abort--Deactivate database

2. Start the database to mount mode

Sql>startup Mount

Sql>alter database datafile '/hot/oradata/smsdbmt_indx01.dbf ' offline drop; -----Delete tablespace File succeeded

3. Open the Database

Sql>alter database open;

4. Delete Table space

Sql>drop tablespace smsdbmt_indx including contents and datafiles;---delete table spaces


This article is from the "10999243" blog, please be sure to keep this source http://11009243.blog.51cto.com/10999243/1857031

Oracle 11g Manual removal of tablespace files results in database error handling methods

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.