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 June 2014 https://www.sqlskills.com/blogs/glenn/sql-server-diagnostic-information-queries-for-june-2014/ Semi-random musings about SQL Server performance Tue, 09 Oct 2018 16:38:56 +0000 hourly 1 https://wordpress.org/?v=6.9.4 By: Glenn Berry https://www.sqlskills.com/blogs/glenn/sql-server-diagnostic-information-queries-for-june-2014/#comment-16224 Tue, 01 Jul 2014 19:24:43 +0000 http://3.209.169.194/blogs/glenn/?p=899#comment-16224 In reply to Dani.

The ring buffers DMV CPU query gets the actual CPU utilization by the SQL Server process in one minute increments. Looking at that output over time will give you a good idea of your average CPU utilization and the normal range of values at different times of the day. Each value that it stores is the actual value when the measurement was taken that minute.

If you really want to know the maximum value for CPU utilization by SQL Server, you would need to run PerfMon session to a file, tracking the CPU utilization by the SQL Server process in small enough increments so that you don’t miss any peak values. Honestly, I am not really sure why you want to do this though.

]]>
By: Dani https://www.sqlskills.com/blogs/glenn/sql-server-diagnostic-information-queries-for-june-2014/#comment-16221 Tue, 01 Jul 2014 19:18:16 +0000 http://3.209.169.194/blogs/glenn/?p=899#comment-16221 Hi Glenn,

For the CPU utilization history for the last 256 minute, Is the value for SQL Server utilization MAX or AVG and if i need to get the max value is there a way ?.

Please let me know

Thanks

]]>
By: Glenn Berry https://www.sqlskills.com/blogs/glenn/sql-server-diagnostic-information-queries-for-june-2014/#comment-10122 Tue, 10 Jun 2014 14:12:13 +0000 http://3.209.169.194/blogs/glenn/?p=899#comment-10122 In reply to HanShi.

Thanks for the heads up. I have fixed that in the 2008 R2 version of the queries. Thanks!

]]>
By: HanShi https://www.sqlskills.com/blogs/glenn/sql-server-diagnostic-information-queries-for-june-2014/#comment-10055 Tue, 10 Jun 2014 07:20:23 +0000 http://3.209.169.194/blogs/glenn/?p=899#comment-10055 Hi Glenn,

Thanks for sharing these very informative queries! It’s very handy to have something at hand to get so much information at once.

I’ve found a small typo/error in the script for SQL 2008 R2. On line 704 you call the column [pages_in_bytes] from [dm_os_memory_objects]. This column doesn’t exist and must be changed to [page_size_in_bytes]. I’ve executed it on a SQL2008 R2 SP2 (10.50.4000) instance.

Best regards

]]>