Statistics-Io

Tag: statistics-io

When does physical reads include read-ahead reads in SQL Server?

When does physical reads include read-ahead reads in SQL Server?

SQL Server has more than one way to pull pages in from disk for your queries. SQL Server can do a physical read of an 8KB page, or an extent of 8 ย of those 8KB pages.

Continue reading

3 Tricks with STATISTICS IO and STATISTICS TIME in SQL Server

3 Tricks with STATISTICS IO and STATISTICS TIME in SQL Server

When ย you need to measure how long a query takes and how many resources it uses, STATISTICS TIME and STATISTICS IO are great tools for interactive testing in SQL Server. I use these settings constantly when tuning indexes and query.

Continue reading