RE: Bind variable peeking and Dynamic sampling

  • From: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
  • To: <greg@xxxxxxxxxxxxxxxxxx>, "Oracle-L" <oracle-l@xxxxxxxxxxxxx>, <fairlie_r@xxxxxxxxx>
  • Date: Tue, 8 May 2007 09:57:31 -0700

Not that Wolfgang's suggestion isn't a good one, but just FYI - in my
case, I got rid of histograms and am still having the problems of
inappropriate plan sharing due to bind variable peeking.

I've filed enhancement request 6030306 to add a hint or some other
method of forcing Oracle to always hard-parse and bind-peek for certain
queries.  If any of you agree this would be a good enhancement, please
submit an enhancement request of your own and reference the above ER
number and if enough of us ask for it, hopefully they'll add it soon.


-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Greg Rahn

Wolfgang's suggestion to remove any histograms might be the best bet. 

Privileged/Confidential Information may be contained in this message or 
attachments hereto. Please advise immediately if you or your employer do not 
consent to Internet email for messages of this kind. Opinions, conclusions and 
other information in this message that do not relate to the official business 
of this company shall be understood as neither given nor endorsed by it.


Other related posts: