RE: drop a histogram on a single column

From: Allen, Brandon <Brandon.Allen_at_OneNeck.com>
Date: Mon, 15 Dec 2008 11:00:35 -0700
Message-ID: <64BAF54438380142A0BF94A23224A31E10A30BAC0E@ONEWS06.oneneck.corp>


P.S. credit for this trick goes to Wolfgang Breitling, so that should be reassuring and here is some more detail:

http://www.freelists.org/post/oracle-l/Any-quick-way-to-remove-histograms,11

-----Original Message-----

From: Allen, Brandon

exec dbms_stats.set_column_stats(user,'table_name',colname=>'column_name',distcnt=><num_distinct>);

Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.
--

http://www.freelists.org/webpage/oracle-l Received on Mon Dec 15 2008 - 12:00:35 CST

Original text of this message