Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: how to figure out how much disk space is being used?

Re: how to figure out how much disk space is being used?

From: godmann <allanwtham_at_yahoo.com>
Date: 24 Oct 2001 19:50:33 -0700
Message-ID: <95cd51c.0110241850.5c471cd1@posting.google.com>


Hi there,

   To find out how many disk space taken for a particular tablespace you can do a

   select sum(bytes)
   from dba_segments
   where tablespace_name='XYZ'

   Likewise, for a table or any object, do a

   select sum(bytes)
   from dba_segments
   where segment_name ='TABLE_NAME'

Allan W. Tham
DBA Received on Wed Oct 24 2001 - 21:50:33 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US