From the link: http://www.databasejournal.com/features/mssql/article.php/2244381/Examining-SQL-Servers-IO-Statistics.htm
I got the query
-- Take a look at raw I/O Statistics
SELECT @@TOTAL_READ [Total Reads]
, @@TOTAL_WRITE as [Total Writes]
, CAST(@@IO_BUSY as FLOAT) * @@TIMETICKS / 1000000.0 as [IO Sec]
GO
(Results)
Total Reads Total Writes IO Sec
----------- ------------ -----------
85336 322109 25.375
How do I get this but this time I can have date filters? i.e.
where
xDate between Date1 and Date2
?
@Note :
This is different from question How to find out SQL Server table's read/write statistics with Date Filter? as this is the TOTAL and the other is per TABLE