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