Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: find allocated and used space for a table

Re: find allocated and used space for a table

From: Peter Gram <Peter.gram_at_miracleas.dk>
Date: Mon, 11 Jun 2001 01:10:52 -0700
Message-ID: <F001.00323CB1.20010611005046@fatcity.com>


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 7107


Received on Mon Jun 11 2001 - 03:10:52 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US