RE: drop a histogram on a single column

  • From: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
  • To: "kylelf@xxxxxxxxx" <kylelf@xxxxxxxxx>, "Oracle-L@xxxxxxxxxxxxx" <Oracle-L@xxxxxxxxxxxxx>
  • Date: Mon, 15 Dec 2008 11:00:35 -0700

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

//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.
--
//www.freelists.org/webpage/oracle-l


Other related posts: