Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: table size
corrado brambilla wrote:
>
> Hi, I need to calculate a table size for any tables in my db.
> Please advice how to do so.
>
> Thanks
> Corrado.
Try this. But such query can return a lot of rows - restrict it by where clause.
select SEGMENT_NAME
, sum(BYTES) BYTES , trunc(sum(BYTES)/(1024*1024)) MBYTES , sum(BLOCKS) BLOCKS