解决方法:先让该数据文件脱机,就可以打开数据库
--NOARCHIVELOG模式命令
[oracle@js-oracle oracle]$ sqlplus /NOLOGSQL> connect sys/wellhope as sysdbaSQL> alter database datafile '/home/oracle/ora/products/9.2.0/oradata/ora9i/tablespace_ecms.dbf' offline drop;SQL> alter database open; --则数据库正常打开SQL> select file#,name,status from v$datafile;SQL> drop tablespace tablespace_ecms INCLUDing contents;表空间已丢弃。如有不足,请指正。
--NOARCHIVELOG模式命令
[oracle@js-oracle oracle]$ sqlplus /NOLOGSQL> connect sys/wellhope as sysdbaSQL> alter database datafile '/home/oracle/ora/products/9.2.0/oradata/ora9i/tablespace_ecms.dbf' offline drop;SQL> alter database open; --则数据库正常打开SQL> select file#,name,status from v$datafile;SQL> drop tablespace tablespace_ecms INCLUDing contents;表空间已丢弃。如有不足,请指正。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货