Identifichiamo le query che generano molto I/O
Vediamo come possiamo, tramite le viste:- sys.dm_exec_query_stats- sys.dm_exec_sql_text- sys.dm_exec_query_planrecuperare le prime 10 query che generano il maggior volume di I/O.
SELECT top 10 (total_logical_reads/execution_count) logical_reads, (total_logical_writes/execution_count) logical_writes, (total_physical_reads/execution_count) physical_reads, Execution_count, (SELECT [text] FROM sys.dm_exec_sql_text (s
Leggi tutto il post...