摘要:
通过性能监视器监视Avg. Disk Queue Length 小于2Avg. Disk sec/Read, Avg. Disk sec/Write 小于10ms可以用数据收集器定时收集平均物理读次数最多的SQL语句:select top 50 *, (s.total_physical_reads / s.execution_count) as avephysicalreads from sys.dm_exec_query_stats scross apply sys.dm_exec_sql_text(s.sql_handle)order by avephysicalreads desc平均逻 阅读全文