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: Query gives incorrect results

Re: Query gives incorrect results

From: Volker Hetzer <volker.hetzer_at_ieee.org>
Date: Thu, 5 Jun 2003 17:12:35 +0200
Message-ID: <bbnml4$bf2$1@dackel.pdb.sbs.de>


Jim Kennedy wrote:
> You could read the docs and find out that you should never analyze
> the sys schema.
> Jim
>
>
>> This last case seems related to cost-based optimizer. Try again after
>> EXECUTE sys.dbms_utility.analyze_schema ('SYS', method=>'COMPUTE');
>> or
>> EXECUTE sys.dbms_utility.analyze_database (method=>'COMPUTE');

OTOH, the dbms_stats packe doesn't seem to have such a limitation.

Lots of Greetings!
Volker

--
While it is a known fact that programmers
never make mistakes, it is still a good idea
to humor the users by checking for errors at
critical points in your program.
-Robert D. Schneider, "Optimizing INFORMIX
 Applications"
Received on Thu Jun 05 2003 - 10:12:35 CDT

Original text of this message

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