关于system表空间碎片整理问题

来源:互联网 发布:占星 知乎 编辑:程序博客网 时间:2024/06/05 06:05

开发人员在测试环境建了个数据库,然后将业务表全建在了system表空间下面,导致system表空间被撑到30g,文件系统空间不足。

后来将表都move到其他表空间了,但是对system表空间的datafile进行resize,仍然无法操作。

使用了alter tablespace system coalesce,也用了impdp的方式,发现都无法解决掉system表空间碎片问题。

在metalink上找了一篇文章,有这么一段话:

System tablespace

Please note that the procedure described in the previous section doesn't apply to system tablespace, this tablespace contains many bootstrap objects that should not be moved, if system tablespace is fragmented the only possible way is to recreate the database. You can recreate the database and copy the data using TTS (Transportable Tablespace) or Export/Import method.


意思就是,文档中介绍的解决表空间的处理办法对于system表空间都不适用,如果想要解决system表空间碎片问题,那么唯一的办法就是recreate数据库。。。

有点惆怅啊。。。



0 0
原创粉丝点击