Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: DBMS_STATS in 8.1.6
DBMS_STATS only gathers stats that the optimizer needs. For example, the
CHAIN_CNT field is not updated because the optimizer doesn't need it. I hate
this because now I don't know if the table has chained or migrated rows. The
ANALYZE command still gives you this information.
-----Original Message-----
Sent: Tuesday, February 26, 2002 4:33 AM
To: Multiple recipients of list ORACLE-L
Well, it has some bugs with GATHER EMPTY and GATHER
STALE on your release. However, I set it in some
clients and it is working fine. As an advice, don't
use those options, reduce the size of the bucket just
to generate statistics quickly, lastly if you decide
against DBMS_STATS, don't run statistics with analyze
because it doesn't generate any.
I set it with monitoring option and as I said it is
working fine. I was cautious just to exclude tables
that recently been truncated. However, it is working
fine.
Regards.
--- "Jesse, Rich" <Rich.Jesse_at_qtiworld.com> wrote:
> Hey all,
>
> I'm looking to start CBO on an 8.1.6.0.0 DB on
> Solaris 2.8. But looking
> thru Metaclink, I see some potential problems with
> some of the DBMS_STATS
> package in this version, like with
> GATHER_SCHEMA_STATS.
>
> Anyone have any suggestions as to "Yay" or "Nay" for
> this on 8.1.6.0.0?
> Unfortunately, this is another 3rd party app which
> refuses to support any
> other version (not sure about patchsets, though) of
> Oracle, so I'm stuck
> here for the time being. I'm leaning heavily
> towards the cautious route of
> using ANALYZE and reading DBA_TAB_MODIFICATIONS once
> a week to see if I
> should re-ANALYZE.
>
> TIA,
> Rich Jesse System/Database
> Administrator
> Rich.Jesse_at_qtiworld.com Quad/Tech
> International, Sussex, WI USA
> --
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> --
> Author: Jesse, Rich
> INET: Rich.Jesse_at_qtiworld.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).
Ing. Christian Trassens
Senior DBA & Unix Administrator
Phone: 0034-699240979
0034-649824704
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Christian Trassens INET: ctrassens_at_yahoo.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: Terrian, Tom INET: tterrian_at_daas.dla.mil 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 Tue Feb 26 2002 - 06:13:21 CST
![]() |
![]() |