Thanks for your help.
The answer to question1 is yes, and it turns out the answer to question2 is sort of.
I was told that the data in the db I am analyzing was created through an application (using stored procedures), but sys.dm_exec_procedure_stats doesn’t show any stored procedure last_execution_time values for that db.
I now believe this db was generated on a test server, then added to the VM server.
Either way, I’ve learned a lesson.
Thanks again for the great work as well as the tip to steer me towards clearing up the mystery
Duncan
]]>Are you sure that you switched to the user database that you are concerned with (rather than the master system database)?
Are you sure that your user database uses stored procedures rather than ad hoc or prepared queries?
]]>What version of SQL Server are you running (so I know which set of diagnostic queries you are running)? Otherwise, I don’t know what queries 47-53 are.
]]>I’m afraid I inadvertently posted this on your “How to do some Very Basic SQL Server Monitoring’ post.
I checked the version and compatibility level and per your queries I was running the correct script for the server I was analyzing, but I still got no data for queries 47-53.
What might I be doing wrong?
Thanks!
]]>