Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise Developer Center
Viewing all articles
Browse latest Browse all 1240

Update index statistics causes number of histograms to reduce

$
0
0

I guess there is issue with update index statistics. 

 

Create index on any table and check the optdiag output for the leading column and number the histograms. Now just update the statistics using

 

update index statistics tablename index name.

 

Check optdiag output and you will see much smaller number of histogram steps. This is causing issues as statistics are not as good as it were when you had more number of steps.

 

 

 

Thanks


Viewing all articles
Browse latest Browse all 1240


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>