<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>performance counter &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/performance-counter/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Thu, 16 Nov 2017 10:17:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.6</generator>
	<item>
		<title>SQL Server: The Important Performance Counters (dm_os_performance_counters)</title>
		<link>https://www.dbrnd.com/2016/04/sql-server-the-important-performance-counters-dm_os_performance_counters/</link>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Wed, 20 Apr 2016 05:10:18 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server DBA Script]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[dm_os_performance_counters]]></category>
		<category><![CDATA[performance counter]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server Administrator]]></category>
		<category><![CDATA[SQL Server Monitoring]]></category>
		<category><![CDATA[SQL Server Performance Tunning]]></category>
		<category><![CDATA[SQL Server Tips and Tricks]]></category>
		<category><![CDATA[TSQL]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=2426</guid>

					<description><![CDATA[The SQL Server Performance Counters are the bread and butter for performance tuning exercise. Using the performance counters, we can measure the current performance of the SQL Server basis on different criteria like Memory Information, Storage Information, CPU Information, Pages Information and other. In this post, I am going to share some of the important [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F04%2Fsql-server-the-important-performance-counters-dm_os_performance_counters%2F&amp;linkname=SQL%20Server%3A%20The%20Important%20Performance%20Counters%20%28dm_os_performance_counters%29" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F04%2Fsql-server-the-important-performance-counters-dm_os_performance_counters%2F&amp;linkname=SQL%20Server%3A%20The%20Important%20Performance%20Counters%20%28dm_os_performance_counters%29" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F04%2Fsql-server-the-important-performance-counters-dm_os_performance_counters%2F&amp;linkname=SQL%20Server%3A%20The%20Important%20Performance%20Counters%20%28dm_os_performance_counters%29" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F04%2Fsql-server-the-important-performance-counters-dm_os_performance_counters%2F&amp;linkname=SQL%20Server%3A%20The%20Important%20Performance%20Counters%20%28dm_os_performance_counters%29" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F04%2Fsql-server-the-important-performance-counters-dm_os_performance_counters%2F&amp;linkname=SQL%20Server%3A%20The%20Important%20Performance%20Counters%20%28dm_os_performance_counters%29" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F04%2Fsql-server-the-important-performance-counters-dm_os_performance_counters%2F&amp;linkname=SQL%20Server%3A%20The%20Important%20Performance%20Counters%20%28dm_os_performance_counters%29" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F04%2Fsql-server-the-important-performance-counters-dm_os_performance_counters%2F&#038;title=SQL%20Server%3A%20The%20Important%20Performance%20Counters%20%28dm_os_performance_counters%29" data-a2a-url="https://www.dbrnd.com/2016/04/sql-server-the-important-performance-counters-dm_os_performance_counters/" data-a2a-title="SQL Server: The Important Performance Counters (dm_os_performance_counters)"></a></p><p>The SQL Server Performance Counters are the bread and butter for performance tuning exercise.</p>
<p>Using the performance counters, we can measure the current performance of the SQL Server basis on different criteria like Memory Information, Storage Information, CPU Information, Pages Information and other. </p>
<p>In this post, I am going to share some of the important Performance Counters for monitoring the SQL Server Performance. </p>
<p><strong>Memory Information Counters:</strong></p>
<blockquote><p>Using this script, you can find the total amount of physical memory on the computer. </p>
<pre class="crayon-plain-tag">SELECT *FROM sys.dm_os_performance_counters 
WHERE counter_name = 'Total Server Memory (KB)'
GO</pre> </p></blockquote>
<blockquote><p>Using this script, you can find different memory-related counters and its information. </p>
<pre class="crayon-plain-tag">SELECT *FROM sys.dm_os_performance_counters 
WHERE counter_name LIKE '%Memory%'
GO</pre> </p></blockquote>
<p><strong>Page Information Counters:</strong></p>
<blockquote><p>Using this script, you can find that how long pages stay in the buffer cache in seconds. If the value is more significant, SQL Server does not read from disk, and it serves the request from the buffer only. </p>
<pre class="crayon-plain-tag">SELECT *FROM sys.dm_os_performance_counters 
WHERE counter_name = 'Page life expectancy'
GO</pre>
</p></blockquote>
<blockquote><p>It shows the value of the number of physical database page reads that are issued per second.<br />
Around 80 per second is normal, but if it is above, you may get a timeout in your application.</p>
<pre class="crayon-plain-tag">SELECT *FROM sys.dm_os_performance_counters 
WHERE counter_name = 'page reads/sec'
GO</pre>
</p></blockquote>
<blockquote><p>It shows the number of requests to find a page in the buffer pool.</p>
<pre class="crayon-plain-tag">SELECT *FROM sys.dm_os_performance_counters 
WHERE counter_name = 'Page lookups/sec'
GO</pre>
</p></blockquote>
<blockquote><p>Using below script, you can find a different page related counters and its information. </p>
<pre class="crayon-plain-tag">SELECT *FROM sys.dm_os_performance_counters 
WHERE counter_name LIKE '%Page%'
GO</pre>
</p></blockquote>
<p><strong>User Connection Counter:</strong></p>
<blockquote><p>It shows the number of different users that are connected to the SQL Server.</p>
<pre class="crayon-plain-tag">SELECT *FROM sys.dm_os_performance_counters 
WHERE counter_name = 'User Connections'
GO</pre>
</p></blockquote>
<p><strong>Buffer Information Counters:</strong></p>
<blockquote><p>A greater value indicates that more significant number of requests are satisfied with the data cache and SQL Server is getting queries data from the memory instead of disk. </p>
<pre class="crayon-plain-tag">SELECT *FROM sys.dm_os_performance_counters 
WHERE counter_name = 'Buffer Cache Hit Ratio'
GO</pre> </p></blockquote>
<blockquote><p>Using below script, You can find different information of the buffers. </p>
<pre class="crayon-plain-tag">SELECT *FROM sys.dm_os_performance_counters 
WHERE counter_name LIKE '%Buffer%'
GO</pre> </p></blockquote>
<p><strong>Batch Requests Counter: </strong></p>
<blockquote><p>It shows the number of batches per second, which are received by the SQL Server. If the number is high, more queries are executed in SQL Server. </p>
<pre class="crayon-plain-tag">SELECT *FROM sys.dm_os_performance_counters 
WHERE counter_name = 'Batch Requests/Sec'
GO</pre> </p></blockquote>
<p><strong>SQL Compilation Counter: </strong></p>
<blockquote><p>It shows the number of execution plan compilation per second by the SQL Server. The compilation of execution plan is resource intensive, and it should be lesser than the number of batches per second. </p>
<pre class="crayon-plain-tag">SELECT *FROM sys.dm_os_performance_counters 
WHERE counter_name = 'SQL Compilations/Sec'
GO</pre> </p></blockquote>
<p><strong>Block Transaction Information Counters: </strong></p>
<blockquote><p>This blocking related counters are essential for finding the different information of the blocked transactions so that as much as we can avoid the deadlock situation. </p>
<pre class="crayon-plain-tag">SELECT *FROM sys.dm_os_performance_counters 
WHERE counter_name LIKE '%block%'
GO</pre> </p></blockquote>
<p><strong>CPU Counters:</strong></p>
<blockquote><p>Using this script, You can find the usage of CPU in percentage. </p>
<pre class="crayon-plain-tag">SELECT *FROM sys.dm_os_performance_counters 
WHERE counter_name = 'CPU usage %'
GO</pre> </p></blockquote>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
