Ather M (1/23/2010)
If I will add stats in database is there any disadvantage of that....like if we add indexes...it takes space....it slowing the insertion..... etc
No, nothing really. Statblobs are very small compared to an index, no degradation of inserts/updates/deletes
what are advantage of it ?
They give the query optimiser information on the distribution of rows in the table.
Personally, I never create stats manually, leave it up to SQL to create the ones it needs and let me focus on adding indexes if necessary.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability