Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> AW: Simple DBA Type Question
The sum size of datafiles:
select sum(bytes) from v$datafile;
The size of all segments:
select sum(bytes) from dba_segments;
The size of all tables:
select sum(bytes) from dba_segments where segment_type=3D'TABLE';
The size of all tables of one user:
select sum(bytes) from dba_segments where segment_type=3D'TABLE' and =
owner =3D'
..... ';
And so on. Everything under user with DBA privileges (system,sys.... =
).
Ivo Libal
> -----Urspr=FCngliche Nachricht-----
> Von: Peter Hazelton [SMTP:peterhazelton_at_hotmail.com]
> Gesendet am: Montag, 21. August 2000 16:45
> An: Multiple recipients of list ORACLE-L
> Betreff: Simple DBA Type Question
>=20
>=20
>=20
________________________________________________________________________=
> Get Your Private, Free E-mail from MSN Hotmail at =
http://www.hotmail.com
>=20
>=20> To REMOVE yourself from this mailing list, send an E-Mail message
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing =
Lists
> --------------------------------------------------------------------