free space 大于db file的大小
遇到一个奇怪的问题, db file free space的大小大于file的大小。导致在toad下看到的使用率为负的
select sum(bytes) from dba_free_space where file_id=8;
result: 35672489984 (这个大小已经达到了数据文件的max)
select bytes from dba_data_files where file_id=8;
result: 10171187200
select sum(bytes) from dba_free_space where file_id=8;
result: 35672489984 (这个大小已经达到了数据文件的max)
select bytes from dba_data_files where file_id=8;
result: 10171187200
由于oracle bug 5083393 导致,
solution:
purge tablespace TS_NAME;
exec dbms_space_admin.tablespace_rebuild_bitmaps('TS_NAME');
[@more@]
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/545828/viewspace-1001284/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/545828/viewspace-1001284/