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: Juan Carlos Reyes Pacheco <jreyes_at_dazasoftware.com>
Date: Wed, 17 Nov 2004 12:27:51 -0400
Message-Id: <419B7C07.000005.01508@DAZA-MGEJCA5J7T>


Hi Ryan
In Oracle 9i if there are histograms, even if it is binded it uses histograms anyway.  

Juan Carlos Reyes Pacheco
OCP
-------Original Message-------
 

From: ryan_gaffuri_at_comcast.net
Date: 11/17/04 12:24:30
To: oracle-l_at_freelists.org
Subject: histograms, buckets, and bind variables  

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.  

anyone else notice this?  

--

http://www.freelists.org/webpage/oracle-l
--

http://www.freelists.org/webpage/oracle-l Received on Wed Nov 17 2004 - 12:11:47 CST

Original text of this message

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