这是正确的删表空间方法
drop tablespace test including contents and datafiles;
若未使用该方法导致表空间的文件依旧保留在文件系统中,可以采取2种办法:
1(不推荐)关闭数据库后,直接删文件
2(推荐)再创建一个表空间然后利用上现有的表空间文件

create tablespace TEST datafile '/test.dbf'

SQL提示Tablespace created.
然后再删除之

drop tablespace test including contents and datafiles;、

SQL提示Tablespace dropped.


本文由 bambovc 创作,采用 知识共享署名 3.0,可自由转载、引用,但需署名作者且注明文章出处。

还不快抢沙发

添加新评论