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

Home -> Community -> Usenet -> c.d.o.server -> Re: Schema Disk Size

Re: Schema Disk Size

From: <fitzjarrell_at_cox.net>
Date: Mon, 11 Jun 2007 09:15:26 -0700
Message-ID: <1181578526.779761.202970@g4g2000hsf.googlegroups.com>


On Jun 11, 10:04 am, gazzag <gar..._at_jamms.org> wrote:
> On 11 Jun, 15:40, "Jean-Luc" <t..._at_test.com> wrote:
>
> > Hello All,
>
> > Is-it possible with Enterprise Manager to know the Physical Disk Usage of a
> > schema ? I've multiple schema in the user tablespace, how can i know the
> > usage of my schema ?
>
> > thank's..
> >From the SQL*Plus command line, the following query will return the
>
> amount of bytes used by all the objects in each of your schemas:
>
> select owner, sum(bytes)
> from dba_segments
> group by owner;
>
> HTH
>
> -g

select owner, sum(bytes)
from dba_segments
where tablespace_name = 'USER'
group by owner;

-or-

select owner, tablespace_name, sum(bytes) from dba_segments
group by owner, tablespace_name;

David Fitzjarrell Received on Mon Jun 11 2007 - 11:15:26 CDT

Original text of this message

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