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: stored outlines used but wrong plan executed

Re: stored outlines used but wrong plan executed

From: Christian Antognini <christian.antognini_at_trivadis.com>
Date: Fri, 17 Sep 2004 18:30:40 +0200
Message-ID: <414b112d@post.usenet.com>

"Arik" <arik_samson_at_excite.com> wrote in message news:699f12fe.0409161337.6ec7abec_at_posting.google.com...
> I wonder if anybody has stumbled upon the same problem:
> Trying to optimize a query in version 9.2.0.4 with a stored outline. I
> manipulated the outline to have the right hints, altered session to
> use the outline, but when I run the query, although the outline is
> used, the wrong plan is executed.
>
> Thanks,
> Arik

Hi Arik

I already had similar problems. Since outlines are hints and, like any hints, sometimes the CBO decide not using them, it happens that an outline simply doesn't work :-(

How did you modify the outline? If you used the Outline Editor, did you get the "correct" plan when you tried to validate the changes?

Chris

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Received on Fri Sep 17 2004 - 11:30:40 CDT

Original text of this message

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