Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

update statistics with sample

$
0
0

I am having a SQL Server 2016 instance , and I found that update statistics with sample 10 percent not always works for small tables. 

for example I have a table have 10000 rows , and update stats with sample 10 percent. Using dbcc show_statistics doesn't return sample 1000 rows. 

For bigger table (larger than 1M and more) , this seems work . 

Are there any threshold that SQL Engine will ignore the update stats with sample ?


Viewing all articles
Browse latest Browse all 15694

Trending Articles



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