why don't you export the table data, update the column, gather statistics, and then import back the original data? otherwise, you have to update the dictionary. with a column population of two distinct values, you typicvally get two buckets with the cumulative cardinality -- so you only have to change one of the two endpoint_number values (which is unsupported, of course) kind regards, Lex. --------------------------------------------- Visit my website at http://www.naturaljoin.nl --------------------------------------------- -----Original Message----- From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Leonard, George Sent: Tuesday, February 15, 2005 13:30 To: oracle-l@xxxxxxxxxxxxx Subject: HOW TO: fudge histogram information Hi all I need to change oracle idea of what the data looks like in a column that is indexes. Currently when the column is analyzed there are 2 values with a 50/50 split. (STATUS=OPEN or CLOSE) I need to lie to it so that it thinks there are less than 5% open compared to closed so that it accesses the data via the index and not a table scan. George ________________________________________________ George Leonard Oracle Database Administrator New Dawn Technologies @ Wesbank E-mail:gleonard@xxxxxxxxxxxxx You Have The Obligation to Inform One Honestly of the risk, And As a Person You Are Committed to Educate Yourself to the Total Risk In Any Activity! Once Informed & Totally Aware of the Risk, Every Fool Has the Right to Kill or Injure Themselves as They See Fit! ________________________________________________________________________________ ___________________ The views expressed in this email are, unless otherwise stated, those of the author and not those of the FirstRand Banking Group an Authorised Financial Service Provider or its management. The information in this e-mail is confidential and is intended solely for the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted in reliance on this, is prohibited and may be unlawful. Whilst all reasonable steps are taken to ensure the accuracy and integrity of information and data transmitted electronically and to preserve the confidentiality thereof, no liability or responsibility whatsoever is accepted if information or data is, for whatever reason, corrupted or does not reach its intended destination. ________________________________ -- //www.freelists.org/webpage/oracle-l -- //www.freelists.org/webpage/oracle-l