Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: HOW TO: fudge histogram information
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.
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
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.
--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l
Received on Tue Feb 15 2005 - 07:40:34 CST
![]() |
![]() |