SQL Server’s STATISTICS IO

Usually the goal of performance tuning is to make your query run faster. One of the easiest ways to get a faster query is to reduce the volume of data a query is processing. STATISTICS IO makes it easy to see how much data SQL Server is actually processing. How it is going to help? The data it shows acts as a measuring for your performance tuning. It provides a good way of knowing the number of io Sql server has gone to fetch the data It is session specific only How to Use? -- For current session only SET STATISTICS IO ON; GO How to read the output? Logical reads: The number of pages SQL Server had to read from the memory in order to process and return the results of your query. Query performs slower if number of pages read is high. Physical reads: this read happens when the page requested is not present in the cache and needs to be fetched from files on the disk, this operation causes a IO wait. Worktables/Workfiles: sql server cre...