Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Table size
hi viraj,
here's the method which'll let u know about the tables in a tablespace and
thier occupied spaces.
u can modify this according to your need by adding whatever more columns and
condition u want.
select segment_name,tablespace_name,
sum(bytes)/1024 "KB"
from dba_segments where segment_type='TABLE'
and owner='name'
group by segment_name
/
this will give u tables of a particular user and their sizes.
hope it help.
saurabh
----- Original Message -----
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
Sent: Wednesday, May 30, 2001 10:45 AM
> Hello all,
>
> How do I come to what tables are present in a particular tablespace and
then when I found the table, can I come to know what amount of space it
consumes?
>
> eg. I want to know what tablespace does the table emp (user is scott)
belong to and the space it consumes (eg 5M)? Please help.
>
> Thanks and Regards,
>
> raja
>
>
> Get 250 color business cards for FREE!
> http://businesscards.lycos.com/vp/fastpath/
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Viraj Luthra
> INET: viraj999_at_lycos.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Saurabh Sharma INET: saurabhs_at_fcsltd.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed May 30 2001 - 00:11:00 CDT
![]() |
![]() |