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 November 2017 https://www.sqlskills.com/blogs/glenn/sql-server-diagnostic-information-queries-for-november-2017/ Semi-random musings about SQL Server performance Thu, 30 Nov 2017 23:13:34 +0000 hourly 1 https://wordpress.org/?v=6.9.4 By: John Langston https://www.sqlskills.com/blogs/glenn/sql-server-diagnostic-information-queries-for-november-2017/#comment-235542 Thu, 30 Nov 2017 23:13:34 +0000 http://3.209.169.194/blogs/glenn/?p=1287#comment-235542 Thanks for the Azure SQL Database version. Getting my arms around 320 databases for base lining has been interesting so far.

]]>
By: Muhammad Ali https://www.sqlskills.com/blogs/glenn/sql-server-diagnostic-information-queries-for-november-2017/#comment-235172 Fri, 17 Nov 2017 09:28:05 +0000 http://3.209.169.194/blogs/glenn/?p=1287#comment-235172 Hi Glenn, love your queries, always help me a lot. For your tempdb file query for sql server 2014 the query doesnt return anything, following the query in question;

— Get number of data files in tempdb database (Query 25) (Tempdb Data Files)
EXEC sys.xp_readerrorlog 0, 1, N’The tempdb database has’;

I believe this is because the SQL Server log has been deleted. anyway I used the following query which returns a lot more information about the tempdb and is not dependant on the sql server logs being there.

Exec Tempdb.dbo.sp_helpfile

]]>
By: Sean Perkins https://www.sqlskills.com/blogs/glenn/sql-server-diagnostic-information-queries-for-november-2017/#comment-234870 Tue, 07 Nov 2017 22:01:28 +0000 http://3.209.169.194/blogs/glenn/?p=1287#comment-234870 In reply to Tony Fountain.

That is an excellent idea, Tony! I’d be all for something like that as it takes a lot of manual work out of the equation!

]]>
By: Tony Fountain https://www.sqlskills.com/blogs/glenn/sql-server-diagnostic-information-queries-for-november-2017/#comment-234785 Mon, 30 Oct 2017 19:59:09 +0000 http://3.209.169.194/blogs/glenn/?p=1287#comment-234785 Glenn, would you be interested if the execution of each script section where automated through PowerShell, and the results automatically dumped into a SpreadSheet? I’ve been using these queries for quite a while now and automating through PoSH can save a huge amount of time. Let me know your thoughts, and I don’t mind writing the scripts and providing those to you.

]]>