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: dbms_utility.analyze_schema('SYS', 'COMPUTE')

Re: dbms_utility.analyze_schema('SYS', 'COMPUTE')

From: Biju Thomas <bijuthomas_at_email.msn.com>
Date: Wed, 18 Nov 1998 22:23:40 -0600
Message-ID: <#tQkqR3E#GA.266@upnetnews05>


I guess Oracle recommends you should not analyze SYS owned objects, because the optimizer is "tuned" for rule based optimization...

I have seen performance degradation after analyzing SYS tables. The performance improves once I delete the statistics.

--
Thanks,
Biju Thomas

For Oracle Scripts, Tips and Links
http://www.geocities.com/SiliconValley/Peaks/4535/oracle_main.htm

Vic Thomas wrote in message <72vo6v$em9$1_at_juliana.sprynet.com>...
> The documentation for the ANALYZE statement (in 7.3 and 8.0) clearly
>indicates that it should not be used on the data dictionary tables. I
>presume Oracle Corporation specifically means that ANALYZE should not be
>executed on any table, index, or cluster in the "SYS" schema.
> However, I have not been able to find any official reference material
>that specifically explains what bad things will happen and why they will
>happen when ANALYZE is executed on the "SYS" tables. Can anyone point me
to
>some Oracle documentation or a white paper that explains this? Or at least
>explain the specifics of what would go awry.
>
> In an earlier thread in this newsgroup, someone mentioned that it was
>okay to execute the "dbms_utility.analyze_schema('SYS', 'COMPUTE')"
packaged
>procedure, because it had intelligence built in such that it would not do
>those bad things to the "SYS" schema that ANALYZE would do. This sounds
>like a great approach. But, again, does Oracle have any official
>documentation or a white paper that explains this?
>
>----
>Vic Thomas
>Database Administrator
>Associated Software Consultants
>vic04_at_sprynet.com; vic_at_asconline.com
>
>
>
Received on Wed Nov 18 1998 - 22:23:40 CST

Original text of this message

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