客户的某套系统上有一个表空间近日使用率异常增长,该表空间用以存储索引段,经过定位发现一个原本只有200M左右的索引使用将近30+G的空间,而且表现为绝大多数是未格式化的数据块。以下为通过 show_space脚本收集的段信息: Unformatted Blocks = 1772568 Blocks with 00-25% free space = 0 Blocks with 26-50% free space = 2173 Blocks with 51-75% free space = 0 Blocks with 76-100% free space = 0 Full Blocks = 60762 Unformatted Blocks总数1772568,共使用1772568*16k=27G. 一个索引占用如此多的未格式化块似乎不可思议,首先想到的可能是一个威力惊人的Bug。 探索MOS,可以发现以下这个有趣的note:

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.3 Information in this document applies to any platform.

Symptoms

The problem as observed is that the space