闷,今天一不小心,在给Oracle9i临时表空间添加数据文件的时候,没有指定路径,系统默认将所有的数据文件加在了$ORACLE_HOME/dbs下,晕死,计费的库啊。汗。
赶快处理:
(1)为防把用的的默认表空间切到新建的临时表空间下
alter user xxx temporary tablspace xxxx;
(2)删除建错的临时表空间数据文件
alter database tempfile 'xxxxxxxx' drop;
注:开始不知可以单独删除临时表空间数据文件,进行了临时表空间的全删除
drop tablespace tempxxx including contents and datafile cascade constraints
上面的语句执行了一个晚上,都没有成功,仅发现得时表空间的占用率下降到0,怪
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/645199/viewspace-683588/ ,如需转载,请注明出处,否则将追究法律责任。