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: Finding the actual size of a table

RE: Finding the actual size of a table

From: <ddorr.cs_at_clearstream.com>
Date: Wed, 31 May 2000 12:32:45 +0200
Message-Id: <10514.107238@fatcity.com>


I've always thought you could get valuable information from DBA_TABLES, assuming tables have been ANALYZEd.

NUM_ROWS * AVG_ROW_LEN gives the space used by a table, BLOCKS gives the number of blocks used,

Am I missing something ???

> ----------
> From: Joseph S. Testa[SMTP:teci_at_oracle-dba.com]
> Reply To: ORACLE-L_at_fatcity.com
> Sent: Tuesday, May 30, 2000 23:10
> To: Multiple recipients of list ORACLE-L
> Subject: Re: Finding the actual size of a table
>
> it does not exist in a view, look at $ORACLE_HOME/rdbms/admin
>
> look for dbmsutil.sql, in there is dbms_space package, thats what you want
> to
> use.
>
> joe
>
>
> Steven Monaghan wrote:
>
> > Which data dictionary view can I use to determine the actual size of a
> > table, not just the extents allocated to it?
> >
> > I will be moving a database to a new machine in a few weeks, and I want
> to
> > start planning out the initial extent sizes for my tables. I don't want
> to
> > just use exp/imp with compress=Y because I want to manually size some of
> my
> > smaller reference tables with a large enough initial extent so they
> don't
> > need to grow to reduce potential fragmentation.
> >
> > I also have TOAD but couldn't find the answer there either.
> >
> > TIA,
> > Steve Monaghan
> > WorldCom
> >
> > --
> > Author: Steven Monaghan
> > INET: Steve.Monaghan_at_wcom.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).
>
> --
> Author: Joseph S. Testa
> INET: teci_at_oracle-dba.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).
Received on Wed May 31 2000 - 05:32:45 CDT

Original text of this message

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