开发人员在测试环境建了个数据库,然后将业务表全建在了system表空间下面,导致system表空间被撑到30g,文件系统空间不足。
后来将表都move到其他表空间了,但是对system表空间的datafile进行resize,仍然无法操作。
使用了alter tablespace system coalesce,也用了impdp的方式,发现都无法解决掉system表空间碎片问题。
在metalink上找了一篇文章,有这么一段话:
System tablespacePlease 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. |
有点惆怅啊。。。