Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to check tablespace usage?

635106Oct 21 2008 — edited Oct 22 2008
There are more than 5 datafiles associate with tablespace tabsp_1.

I want to check the usage of the tablespace,

select sum(bytes)/1024/1024 free_space_MB, tablespace_name
from dba_free_space
where tablespace_name='TABSP_1'
group by tablespace_name;

The the result seems a bit different with the output from Toad, Toad shows around 800MB free, but above script shows 850MB, which is 50M more.

Is my script correct? Thank you.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 19 2008
Added on Oct 21 2008
6 comments
9,252 views