Re: Help Fragmentation
From: Chuck Hamilton <chuckh_at_dvol.com>
Date: 1996/09/10
Message-ID: <3234b070.521050_at_n5.gbso.net>#1/1
Date: 1996/09/10
Message-ID: <3234b070.521050_at_n5.gbso.net>#1/1
rdtwb_at_annap.infi.net wrote:
>Hello
>
>Is there a sql command that can be executed that will tell me
>how fragmented a tablespace is?
select tablespace_name, count(*), max(bytes)
from sys.dba_free_space
group by tablespace_name;
A completely unfragmented tablespace will have only one free space. Though you really don't need the max(bytes) part, it usually still comes in handy.
-- Chuck Hamilton chuckh_at_dvol.com Never share a foxhole with anyone braver than yourselfReceived on Tue Sep 10 1996 - 00:00:00 CEST