--各数据表读写情况 2016-08-01 17:57
--各数据表读写情况 select o.name,sum(user_seeks)+sum(user_scans) reads ,max(user_updates) writes from sys.dm_db_index_usage_stats ddus inner join sys.tables o on ddus.object_id=o.object_id where database_id = db_id() group by o.name order by reads desc