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: are hints still necessary in 9i?

Re: are hints still necessary in 9i?

From: Luc Gyselinck <Luc.Gyselinck_at_nospampandora.be>
Date: Thu, 09 Oct 2003 20:19:00 GMT
Message-ID: <Uojhb.68525$mp5.3482718@phobos.telenet-ops.be>


I just read about Oracle 9i that there is something called a 'dynamic sampling feature'.

There is also a new view v$sql_plan.

Is it true that Oracle not only keeps the 'best' plan, but also some (how many?) others, and switches to another plan after it found out, after the first execution of this 'best' plan, it did not made the correct assumptions, for example because the information was missing?

Luc

"Connor McDonald" <connor_mcdonald_at_yahoo.com> wrote in message news:3F853AE4.3C0A_at_yahoo.com...
> Luc Gyselinck wrote:
> >
> > At every new release of Oracle, the CBO wil be enhanced, and thus
> > (hopefully) make better desicions. But it will never be perfect. You
will
> > always encounter situations where you will need a hint.
> >
> > I hope, one day, the CBO will 'learn' from it's 'mistakes' it made when
> > choosing the 'wrong' plan.
> >
> > "Ryan Gaffuri" <rgaffuri_at_cox.net> wrote in message
> > news:1efdad5b.0310080503.12cd6fc8_at_posting.google.com...
> > > Tom Kyte swears that if you properly analyze your table, the CBO is at
> > > the point where you never need hints. I find I still need them
> > > 'occasionally', though not very often.
> > >
> > > anyone else have opinions? anyone who beta tested 10g see an
> > > improvement in the CBO? IT tends to get a little better with each
> > > release.

>

> There are rumours of something akin to that in an upcoming release
>

> hth
> connor
Received on Thu Oct 09 2003 - 15:19:00 CDT

Original text of this message

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