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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: both dbms_stats & dbms_utility are gathering stats on sys objects

Re: both dbms_stats & dbms_utility are gathering stats on sys objects

From: <Prasada.Gunda1_at_hartfordlife.com>
Date: Wed, 25 Jul 2001 08:32:32 -0700
Message-ID: <F001.00354805.20010725070324@fatcity.com>

Hi Jon,
Thanks for your reply. I am aware of this option and I am currently doing the same way(i.e.,analyze database and delete SYS schema stats). But, I was wondering which release of 8.1.7 fixed this problem since Oracle claims that it is fixed in 8.1.7.

Excerpt from oracle tech support mail:
 filed bug 969814 against DBMS_UTILITY.ANALYZE_DATABASE which was not  excluding these tables. This bug is fixed in 8.1.7.

Thanks
Prasad

                                                                                       
       
                    "Jon                                                               
       
                    Walthour"            To:     Multiple recipients of list ORACLE-L  
       
                    <jonw_at_fuse.ne        <ORACLE-L_at_fatcity.com>                        
       
                    t>                   cc:                                           
       
                    Sent by:             Subject:     Re: both dbms_stats & 
dbms_utility are  
                    root_at_fatcity.        gathering stats on sys objects                
       
                    com                                                                
       
                                                                                       
       
                                                                                       
       
                    07/24/2001                                                         
       
                    08:50 PM                                                           
       
                    Please                                                             
       
                    respond to                                                         
       
                    ORACLE-L                                                           
       
                                                                                       
       
                                                                                       
       




Well, first of all, you could use dbms_utility.analyze_schema() and analyze all the schemas except SYS ... or couldn't you run dbms_utility.analyze_database() and then dbms_utility.analyze_schema('SYS','DELETE') to remove SYS's stats. What about one of those?

Jon Walthour

>
> Both DBMS_STATS.GATHER_DATABASE_STATS and DBMS_UTILITY.ANALYZE_DATABASE
are
> gathering statistics on sys objects. As per oracle, we shouldn't analyze
> the objects owned by sys.
>
> When I searched on metalink, I found the following information provided
by
> oracle tech support.
>
> filed bug 969814 against DBMS_UTILITY.ANALYZE_DATABASE which was not
> excluding these tables.
> This bug is fixed in 8.1.7.
>
> I did my tests on 8.1.7 database on hp-ux. Apparently it is not fixed on
> 8.1.7.0.0.
>
> Is it fixed in later releases? I appreciate your comments.
>
> Best regards,
> Prasad
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author:
> INET: Prasada.Gunda1_at_hartfordlife.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).

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Jon Walthour
  INET: jonw_at_fuse.net

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).



-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: Prasada.Gunda1_at_hartfordlife.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).
Received on Wed Jul 25 2001 - 10:32:32 CDT

Original text of this message

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