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

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

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

Thanks

Hearty head pats
  Previous Topic Topic Next Topic  
 New 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.06 seconds. Powered By: Snitz Forums 2000