Has anyone else noticed this? I think the differences are there perhaps because of what it is measuring is different but perhaps also a flaw?
If you have a SQL server (in my case SQL 2008), monitor the following values:
SQL page reads/sec (the built in monitor with their template) - this one is determined via a SQL query SW provides.
SQL page reads/sec (the perfmon one that's under SQL: Buffer Manager)
Page reads/sec (the perfmon one that's under Memory)
SQL page writes/sec (the built in monitor with their template) - this one is determined via a SQL query SW provides.
SQL page writes/sec (the perfmon one that's under SQL: Buffer Manager)
Page writes/sec (the perfmon one that's under Memory)
One my servers I've noticed the following results:
What I find interesting is the following:
1. page reads/sec from perfmon memory is pretty much equal with perfmon sql buffer manager
2. page writes/sec from perfmon memory is 0
3. page reads/sec from builtin sql query SW gave us is so off compared to perfmon,
4. page reads/sec from builtin sql query SW gave us takes over 5 seconds to run (I verified if I run in Management Studio directly on the server I'm monitoring). I think this has to do with our server's performance, but I'm curious if others who have humming servers find this query taking a long time too.
5. page writes/sec from the built sql query SW gave us and from the perfmon buffer manager stat are pretty much the same.
This is true more than just this point in time, but pretty much always true across all 14 of our SQL servers we're monitoring, though some take longer or less time to run the built-in queries.
Besides understanding these things I noticed, I'm basically curious which I should use. The primary purpose we're monitoring these stats are for performance trending and analysis so we can see what memory issues there are (combined with other perfmon stats). Besides finding out which is more accurate, I'm curious if using the SQL query is not good for our server because of the time it takes for the server to respond with the information.
THanks