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

Home -> Community -> Mailing Lists -> Oracle-L -> AW: Actual space used by tables indexes etc?

AW: Actual space used by tables indexes etc?

From: <Brigitte.Tuerk_at_kaufhof.de>
Date: Thu, 15 Jun 2000 18:25:17 +0200
Message-Id: <10529.109429@fatcity.com>


Hallo,

is this query in Oracle V8.1.6 ok? I think, the Rowid is whithout th 2 = '.'.
Have you a query for 8.1.6?

Thanks.

Brigitte T=FCrk
KAUFHOF WARENHAUS AG
> IT-Controlling Datenbankadm.

Leonhard-Tietz-Str. 1
D-50676 K=F6ln
Tel.:+49 (0)221 223-21 88
eMail: Brigitte.Tuerk_at_kaufhof.de

> -----Urspr=FCngliche Nachricht-----
> Von: Malkuns, Skip [SMTP:SMALKUNS_at_SYSTEMS.TEXTRON.com]
> Gesendet am: Donnerstag, 15. Juni 2000 16:10
> An: Multiple recipients of list ORACLE-L
> Betreff: RE: Actual space used by tables indexes etc?

>=20

> /* Blocks/bytes used by data in a table */;
> select COUNT(DISTINCT(SUBSTR(ROWID,1,8)||SUBSTR(ROWID,15,4))) =
Blocks_Used,
>=20
> COUNT(DISTINCT(SUBSTR(ROWID,1,8)||SUBSTR(ROWID,15,4)))*4096 =
bytes_used
> from YOUR_TABLE;
>=20

> Skip
>=20

> > -----Original Message-----
> > From: Ruth Gramolini [SMTP:rgramolini_at_tax.state.vt.us]
> > Sent: Thursday, June 15, 2000 9:17 AM
> > To: Multiple recipients of list ORACLE-L
> > Subject: Re: Actual space used by tables indexes etc?
> >=20
> > Select sum(bytes from dba_segments where =
segment_name=3D'TABLE_NAME'
> > and owner=3D'SCHEMA_OWNER';
> >=20
> > You can put this into a select from all_tables and spool the =
output
> and
> > run it and you will get al tables.
> >=20
> > HTH,
> > Ruth
> > ----- Original Message -----
> > To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
> > Sent: Wednesday, June 14, 2000 7:30 PM
> >=20
> >=20
> > >
> > > Is there a way to know how much space is actually being used by
> tables,
> > > indexes, etc..? Not allocated but actually used?
> > >
> > > Ron Smith
> > > Database Administration
> > > rlsmith_at_kmg.com
> > >
> > > --
> > > Author: Smith, Ron L.
> > > INET: rlsmith_at_kmg.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).
> > >
> >=20
> > --=20
> > Author: Ruth Gramolini
> > INET: rgramolini_at_tax.state.vt.us
> >=20
> > 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).
> --=20
> Author: Malkuns, Skip
> INET: SMALKUNS_at_SYSTEMS.TEXTRON.com
>=20

> 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
Received on Thu Jun 15 2000 - 11:25:17 CDT

Original text of this message

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