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

Home -> Community -> Mailing Lists -> Oracle-L -> HOW TO: fudge histogram information

HOW TO: fudge histogram information

From: Leonard, George <GLeonard_at_wesbank.co.za>
Date: Tue, 15 Feb 2005 14:30:15 +0200
Message-ID: <1831A554E8800049B6B970790D2513C001C362B7@fnbkrkmx01.fnb.co.za>


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_at_wesbank.co.za  

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
Received on Tue Feb 15 2005 - 07:33:53 CST

Original text of this message

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