Warning: Constant WP_TEMP_DIR already defined in /var/www/html/blogs/glenn/wp-config.php on line 94

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/blogs/glenn/wp-config.php:94) in /var/www/html/blogs/glenn/wp-includes/feed-rss2-comments.php on line 8
Comments on: SQL Server Diagnostic Information Queries for May 2017 https://www.sqlskills.com/blogs/glenn/sql-server-diagnostic-information-queries-for-may-2017/ Semi-random musings about SQL Server performance Tue, 09 Oct 2018 19:30:27 +0000 hourly 1 https://wordpress.org/?v=6.9.4 By: Duncan Fairweather https://www.sqlskills.com/blogs/glenn/sql-server-diagnostic-information-queries-for-may-2017/#comment-232787 Tue, 06 Jun 2017 21:15:46 +0000 http://3.209.169.194/blogs/glenn/?p=1184#comment-232787 Hi Glenn,

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

]]>
By: Glenn Berry https://www.sqlskills.com/blogs/glenn/sql-server-diagnostic-information-queries-for-may-2017/#comment-232786 Tue, 06 Jun 2017 20:42:08 +0000 http://3.209.169.194/blogs/glenn/?p=1184#comment-232786 In reply to Duncan Fairweather.

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?

]]>
By: Duncan Fairweather https://www.sqlskills.com/blogs/glenn/sql-server-diagnostic-information-queries-for-may-2017/#comment-232781 Tue, 06 Jun 2017 18:28:24 +0000 http://3.209.169.194/blogs/glenn/?p=1184#comment-232781 SQL Server and OS Version Info
Microsoft SQL Server 2012 – 11.0.5058.0 (X64) May 14 2014 18:34:29 Copyright (c) Microsoft Corporation Standard Edition (64-bit) on Windows NT 6.1 (Build 7601: Service Pack 1) (Hypervisor)

]]>
By: Glenn Berry https://www.sqlskills.com/blogs/glenn/sql-server-diagnostic-information-queries-for-may-2017/#comment-232780 Tue, 06 Jun 2017 18:18:28 +0000 http://3.209.169.194/blogs/glenn/?p=1184#comment-232780 In reply to Duncan Fairweather.

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.

]]>
By: Duncan Fairweather https://www.sqlskills.com/blogs/glenn/sql-server-diagnostic-information-queries-for-may-2017/#comment-232779 Tue, 06 Jun 2017 18:13:09 +0000 http://3.209.169.194/blogs/glenn/?p=1184#comment-232779 Hi Glenn,

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!

]]>
By: Venkat Sarath https://www.sqlskills.com/blogs/glenn/sql-server-diagnostic-information-queries-for-may-2017/#comment-232537 Tue, 23 May 2017 04:57:56 +0000 http://3.209.169.194/blogs/glenn/?p=1184#comment-232537 Thanks for putting all this together.

]]>