Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: histograms, buckets, and bind variables

Re: histograms, buckets, and bind variables

From: Natural Join B.V. <lex.de.haan_at_naturaljoin.nl>
Date: Wed, 17 Nov 2004 17:27:11 MET
Message-Id: <20041117162919.E3FAF3AB5ED@ha-smtp2.tiscali.nl>


I could swear that you are experiencing the great Oracle feature called "bind peeking" at work ...

Cheers,
Lex.

> I could have swarn I read that if you use bind variables oracle ignores
histograms. We are
noticing different query plans based on the number of buckets our histograms have while
our queries are using bind variables.
> One of the guys did a 10053 trace and added up the cost oracle is calculating
and it is
changing based on number of buckets even when bind variables are used.

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Nov 17 2004 - 10:44:58 CST

Original text of this message

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