On 7/11/07, A. Kretschmer <andreas(dot)kretschmer(at)schollglas(dot)com> wrote:
> am Wed, dem 11.07.2007, um 14:52:01 -0400 mailte Alex Deucher folgendes:
> > >Okay, i got a really different plan, but i expected _NOT_ a
> > >performance-boost like this. I expected the opposite.
> > >
> > >
> > >It's not a really problem, i just played with this. But i'm confused
> > >about this...
> > >
> >
> > your results are getting cached. try two queries in a row with the same
> > plan.
>
> Thanks for the response, but I've done this, no difference.
>
try bumping up the default stats target on the table in question and
see if that helps the planner choose a better plan.
Alex