Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 15930

statistics

$
0
0

Hi All,

I need some clarifications on update stats.

1. I have seen in cx's scenario's where they have a maintenace plan like

  checkdb --> re-organize index -> rebuild index - > update stats 

Question 1:  I dnt thick this is correct. Either we need to go for reorg or rebuild based on fragmentation level. I dnt really understand what they are trying to achieve do so,

Question 2 : As per knowledge, the rebuild index will update the stats , then why do we need to use again update stats again ?  is there something we are missing updating stats on other columns which will updated using update stats? if so, what actually will get updated ? please correct me if i am wrong.

Question 3: if i have AUTO_UPDATEStats ON on the database , is there any chance of getting stats getting updated wrongly or in the first place is that right thing to turn ON AUTO_STATS option on the database?

Thanks in advance.


Viewing all articles
Browse latest Browse all 15930


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