oracle物理表空间删除修复

C:\>sqlplus /nolog
SQL> conn / as sysdba
已连接接。
SQL> shutdown
SQL>startup mount
--ARCHIVELOG模式命令,文件名要大写
SQL>alter database datafile '数据文件名' offline;
--NOARCHIVELOG模式命令
SQL>alter database datafile '数据文件名' offline drop;
SQL>;alter database open;
SQL>; select file#,name,status from v$datafile;
SQL>; drop tablespace 表空间名;

猜你喜欢

转载自liwx.iteye.com/blog/1591390