• Jon.Morisi (4/30/2013)


    Let me rephrase. I'd like to determine the cost benefit of each statistic on my table. If it's costing a lot to maintain the statistic and not frequently used I'd like to drop it. I can do this with indexes

    (user_updates + system_updates) as cost , (user_seeks + user_scans + user_lookups) as benefit from sys.dm_db_index_usage_stats

    Is there a way to do this with statistics?

    No - unfortunately there is no way to report on stats usage similar to that of indexes.

    You can, however, query the stats DMVs and identify/eliminate duplicate stats objects. It's better than nothing - I've found several duplicate stats on live dbs actually. Some from DTA, some from sp_create stats, others who knows...

    Cheers,

    JohnA

    MCM: SQL2008