I would like to know if it is possible to capture perfmon or other counters to correlate the physical reads issued by the SQL Server Engine to the number of reads the physical disk delivers at a given moment in time. For instance this could show SQL Server issues 3000 (page) reads per second at a point in time, while the disk is processing reads at 200 reads per sec.Can anyone tell me if this is possible using either perfmon counters or maybe by periodically gathering IO stats from dynamic management views?
asked Apr 06 '11 at 08:38 AM in Default
You can combine perfmon with profiler, the outputs can be synched-up so you can see what query caused what sort of hardware load at the O/S level.
Check out Brent Ozar's great tutorial: [SQL Server Perfmon Counters Tutorial]: http://www.brentozar.com/archive/2006/12/dba-101-using-perfmon-for-sql-performance-tuning/
answered Apr 06 '11 at 12:54 PM
Just to add an example on what @WilliamD suggested on how you can integrate perfmon with profiler trace to correlate each SQL statement and performance counters. Here and [here] are a tutorial on how to do it.: http://sqltechconsulting.com/2009/12/08/auto-magically-visualize-your-perfmon-and-profiler-results/#axzz1ImDgWL8N
answered Apr 06 '11 at 01:18 PM