Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
dewacorp.alliances
452 Posts |
Posted - 2007-07-16 : 02:16:19
|
Hi allI've read the post from somewhere that if you do REINDEX, that the statistic gets rebuild by default? Is this true? The sampling value is default which 10%? Also, does this this the same case if you do INDEXDEFRAG?Thanks |
|
dinakar
Master Smack Fu Yak Hacker
2507 Posts |
Posted - 2007-07-16 : 11:32:33
|
Reindex will update the stats with 100%. If you do an UPDATE STATS without mentioning the percentage it will update the stats with a 10% sample data.Dinakar Nethi************************Life is short. Enjoy it.************************http://weblogs.sqlteam.com/dinakar/ |
 |
|
X002548
Not Just a Number
15586 Posts |
|
dewacorp.alliances
452 Posts |
Posted - 2007-07-16 : 16:16:17
|
How about INDEXDEFRAG?quote: Originally posted by dinakar Reindex will update the stats with 100%. If you do an UPDATE STATS without mentioning the percentage it will update the stats with a 10% sample data.Dinakar Nethi************************Life is short. Enjoy it.************************http://weblogs.sqlteam.com/dinakar/
|
 |
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2007-07-16 : 22:36:12
|
It doesn't update statistics. |
 |
|
dewacorp.alliances
452 Posts |
Posted - 2007-07-17 : 17:24:14
|
quote: Originally posted by rmiao It doesn't update statistics.
Thank you all that makes me understading about statistic. |
 |
|
|
|
|