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 |
Bex
Aged Yak Warrior
580 Posts |
Posted - 2009-01-27 : 10:43:08
|
Hi thereI am doing some reading on statistics, and I understand that there are times where the optimiser doesn't always auto-generate stats if the cost is larger than that to create the query plan, or if it is busy. AUTO CREATE STATISTICS also doens't create stats of the righthand side of a composite index, only the first left hand column has stats auto created.Therefore, I have decided to create stats on all tables on initial creation. Is there any reason why this would not be good practice? Is there any deterimental effect if stats are created for every column on every table?? What are the potential implications?Once the data is loaded in, it remains fairly static. There is the potential that a few hundred rows may be added at a later date, but I can rebuild the indexes and stats in this scenario.ThanksHearty head pats |
|
|
|
|