Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: how to check table size in oracle 9i
manish wrote:
> how to check table size in oracle 9i
>
> PLz help
Hi,
Let me walk you through a example.
I want to find the size for the following table:
OWNER TABLESPACE_NAMETABLE_NAME
------------------------------ ------------------------------ ------------------------------ PERF USERS
NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ db_block_size integer 8192
You can calculte in 2 ways both are mentioned below:
select owner,segment_name,
bytes/1024 as totsize_bytes, (blocks*8192)/1024 as totsize_blockfrom dba_segments
and segment_name='CONN';
OWNER SEGMENT_NA BYTESIZE BLOCKSIZE
------ ---------- ---------- ----------
PERF CONN 64 64
Hope this helps.
Regards,
Vasant
Received on Sat Jun 17 2006 - 05:38:25 CDT