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

Home -> Community -> Usenet -> c.d.o.misc -> Re: how to found the tablespace usage of index

Re: how to found the tablespace usage of index

From: Allan Speir <r31055_at_email.sps.mot.com>
Date: Sun, 20 Sep 1998 16:15:29 +0100
Message-ID: <36051C11.68086BA1@email.sps.mot.com>


You can use dba_segments to tell you how much space any database object is using.

e.g.

select segment_name,sum(bytes),tablespace_name from dba_segments
where segment_type = 'INDEX'
group by segment_name,tablespace_name
/

Hope this helps,

Allan

Tony PKBoy wrote:

> refer to the oracle adm. book, there is a table 'sys.index_stats' have the
> information of index, but it is empty.
>
> is any command like 'analyze table ...' that can update the 'dba_tables' ,
> user_tables, etc. for the table 'sys.index_stats' ?
>
> Or, can anyone teach me how to found the tablespace usage of each index in a
> database?


Received on Sun Sep 20 1998 - 10:15:29 CDT

Original text of this message

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