Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: find allocated and used space for a table
Hi Soman
Use one of thies selects
SELECT
SEGMENT_NAME,
TABLESPACE_NAME,
FILE_ID,
BYTES
FROM
DBA_EXTENTS
WHERE
OWNER = '<OWNER>'
AND
SEGMENT_NAME = '<SEGMENT_NAME>';
SELECT
SEGMENT_NAME,
SUM(BYTES)
FROM
DBA_EXTENTS
WHERE
OWNER = '<OWNER>'
AND
SEGMENT_NAME = '<SEGMENT_NAME>';
Soman Manoj wrote:
> Hi,
>
> How to find allocated and used space for a table?
>
> I required it urgently
>
> Regds
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year! http://personal.mail.yahoo.com/
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Soman Manoj
> INET: manojdsoman_at_yahoo.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).
-- Best regards Peter Gram Miracle A/S http://MiracleAS.dk Tel: +45 2527 7107Received on Mon Jun 11 2001 - 03:10:52 CDT