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: using bind variables makes the optimizer choose a bad plan

Re: using bind variables makes the optimizer choose a bad plan

From: Matthias Kleinicke <Matthias.Kleinicke_at_gmx.de>
Date: Fri, 09 Sep 2005 22:06:33 +0200
Message-ID: <dfspvk$7j5$1@online.de>


boogab00_at_yahoo.com schrieb:
> In my experience, bind-peeking in 9i releases cause more trouble than
> it can be worth. It must be an expensive function because it will only
> peek at a cursor once, and use the same execution plan for subsequent
> identical cursors. So you must hint, use outlines or turn it off.
>

Not bind peeking ist costy, but if you want an inividual plan computed each tome a statement is used why use bind variables? All good achieved by using bind variables will be lost, if the plan is computed each time.

Greetings

Matthias Received on Fri Sep 09 2005 - 15:06:33 CDT

Original text of this message

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