Here is one way to do that... 

REM  -- Create a table to save index stats
create table index_stats_saved as select from index_stats where 1=2;

REM - Analyze indexes and save the stats:
analyze index my_index validate structure;
insert into index_stats_saved (select * from index_stats); 

And so on ...

HTH,


- Kirti Deshpande 
  Verizon Information Services
   http://www.superpages.com

> -----Original Message-----
> From: Hamid Alavi [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, October 04, 2001 6:56 PM
> To:   Multiple recipients of list ORACLE-L
> Subject:      Result of Analyze
> 
> 
> List,
> How can I store the result of "analyze index  index_name validate
> structure"
> for the list of all indexes, INDEX_STATS just keep the last index name.
> I want to keep all the result in a separate table.
> Any Idea???
> 
> 
> Hamid Alavi
> Office 818 737-0526
> Cell    818 402-1987
> 
> The information contained in this message and any attachments is intended
> only for the use of the individual or entity to which it is addressed, and
> may contain information that is PRIVILEGED, CONFIDENTIAL and exempt from
> disclosure under applicable law. If you have received this message in
> error,
> you are prohibited from copying, distributing, or using the information.
> Please contact the sender immediately by return e-mail and delete the
> original message from your system.
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Hamid Alavi
>   INET: [EMAIL PROTECTED]
> 
> 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: [EMAIL PROTECTED] (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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Deshpande, Kirti
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to