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

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

histograms, buckets, and bind variables

From: <ryan_gaffuri_at_comcast.net>
Date: Wed, 17 Nov 2004 16:06:40 +0000
Message-Id: <111720041606.4556.419B7710000AB6DF000011CC2200762302079D9A00000E09A1020E979D@comcast.net>


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
Received on Wed Nov 17 2004 - 10:19:46 CST

Original text of this message

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