Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Data size of a single table
Hello Jörg,
here's a simple query of how much space have been *used* by a table:
SELECT T1.TABLE_NAME,
T1.TABLESPACE_NAME, (T1.BLOCKS * T2.BLOCK_SIZE) / (1024.0 * 1024.0) AS USED_SPACE_IN_MBFROM USER_TABLES T1
but, if you want to know how much space have been *allocated* (reserved) for a table, you could use:
SELECT T1.SEGMENT_NAME, T1.TABLESPACE_NAME, T1.BYTES, (T1.BLOCKS * T2.BLOCK_SIZE) / (1024.0 * 1024.0) AS ALLOC_SPACE_IN_MBFROM USER_SEGMENTS T1
Kind regards,
Markus Eltschinger
"Jörg Brenninkmeyer" <jbrenni_at_freenet.de> wrote in message
news:b4fafe$1c5q$1_at_redenix.uni-muenster.de...
> Hello,
>
> can andybody tell me how I can see the size in KB/MB of a single table
> within a tablespace? In the enterprise manager and the perfomance manager I
> only found information about entire tablespacles. Thank you!
>
> Greetings,
> Jörg
>
>
Received on Sun Mar 09 2003 - 06:42:41 CST
![]() |
![]() |