Oracle resize DBF报错“ORA(2)

查看碎片比:select tablespace_name,count(*) chunks,max(bytes/1024/1024) max_chunk from dba_free_space group by tablespace_name; 
                    #CHUNK列表示表空间中可用有多少可用的空闲数据块,如果空闲块较多,超过100,则需要对相邻碎片进行整合

查看block_id极其不连续情况
select * from (SELECT segment_name,block_id ,LEAD( block_id) OVER ( ORDER BY block_id desc)/*整列向下移动一行*/ block_id_ FROM dba_extents) where  block_id -block_id_ >10000

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/f9aacc4b8e57bf2d0ff089d8fe2e18f7.html