Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Creating Statistics on ALL columns in a table
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Aged Yak Warrior

United Kingdom
580 Posts

Posted - 01/27/2009 :  10:43:08  Show Profile  Send Bex an AOL message  Reply with Quote
Hi there

I 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.


Hearty head pats
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000