col c1 heading
“Tablespace|Nnumber”

   col c2 heading “Tablespace|Name”

   col c3 heading
“Coalescable|Extents”


   select c.ts# c1,c.name c2,count(*) c3

   from sys.fet$ a,sys.fet$ b,sys.ts$ c

   where a.ts# = b.ts#

   and a.ts# = c.ts#

   and a.file# = b.file#

   and (a.block# + a.length) = b.block#

   group by c.ts#,c.name;

By haisins

오라클 DBA 박용석 입니다. haisins@gmail.com 으로 문의 주세요.

답글 남기기

이메일 주소를 발행하지 않을 것입니다. 필수 항목은 *(으)로 표시합니다