oracle删除DBF文件曾经以为把所有的表清空drop掉后其文件已经删除,但实质DBF数据文件依然还存在,在ORADATA文件下。必须要这样删除
DROP TABLESPACE tablespace_name [ including contents [ and datafiles ] [ CASCADE CONSTRAINT ] ]; 无选项 -- 当表空间为空才能删除; including contents — 删除表空间及对象; including contents and datafiles — 删除表空间、对象及数据文件; includingcontents CASCADE CONSTRAINT — 删除关联; including contents and datafiles cascade constraint -- 含前两项。 DROP TABLESPACE see including contents and datafiles cascade constraint;然后在关闭oracle服务,手动删除该DBF文件即可。
原文:http://www.2cto.com/database/201308/236572.html
原文链接:https://www.f2er.com/oracle/208428.html