Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to check free space left in tablespace
Use
select sum(bytes)/(1024*1024)
from dba_free_space
where tablespace_name = 'xxxx'
and
SQL> list
1 select a.tablespace_name,sum(a.tots) Tot_Size,
2 sum(a.sumb) Tot_Free, 3 sum(a.sumb)*100/sum(a.tots) Pct_Free, 4 sum(a.largest) Max_Free,sum(a.chunks) Chunks_Free5 from
TABLESPACE_NAME TOT_SIZE TOT_FREE PCT_FREE MAX_FREE CHUNKS_FREE
-------------------- ---------- ---------- ---------- ----------
Combined this should give you what you need.
Hope this helps
Tapan H Trivedi
The Chuckster wrote:
>
> How can I see how much free space is left in a tablespace/datafile?
>
> Thanks,CC
Received on Mon Aug 09 1999 - 17:07:39 CDT