<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: SQL Server Management Studio: “Include Client Statistics” Button</title>
	<atom:link href="http://www.brentozar.com/archive/2012/12/sql-server-management-studio-include-client-statistics-button/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brentozar.com/archive/2012/12/sql-server-management-studio-include-client-statistics-button/</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 20:35:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Connecting to SQL Server &#8211; latency, part 1 &#171; sqlconcept.com</title>
		<link>http://www.brentozar.com/archive/2012/12/sql-server-management-studio-include-client-statistics-button/#comment-116247</link>
		<dc:creator>Connecting to SQL Server &#8211; latency, part 1 &#171; sqlconcept.com</dc:creator>
		<pubDate>Tue, 18 Dec 2012 11:04:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.brentozar.com/?p=17029#comment-116247</guid>
		<description><![CDATA[[...] bytes sent to and from the client. For more details there is a good post on Client Statistics on BrentOzar.com by Jess Schultz Borland and I also wrote about it long ago on [...]]]></description>
		<content:encoded><![CDATA[<p>[...] bytes sent to and from the client. For more details there is a good post on Client Statistics on BrentOzar.com by Jess Schultz Borland and I also wrote about it long ago on [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Hall</title>
		<link>http://www.brentozar.com/archive/2012/12/sql-server-management-studio-include-client-statistics-button/#comment-106605</link>
		<dc:creator>Steve Hall</dc:creator>
		<pubDate>Tue, 11 Dec 2012 11:59:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.brentozar.com/?p=17029#comment-106605</guid>
		<description><![CDATA[I use this tool when trying to improve the performance of Stored Procs, but concentrate on the &#039;Average&#039; column with at least 6 runs of the code. There are invariably small variations in each execution, so I find that averaging the results out gives a better idea of any performance changes (I won&#039;t say &#039;improvements&#039; - it doesn&#039;t always work like that!). Paste screen shots of these results into a document to show the changes, along with execution plans if possible. Then you can show the work done should there be any questions relating to it.]]></description>
		<content:encoded><![CDATA[<p>I use this tool when trying to improve the performance of Stored Procs, but concentrate on the &#8216;Average&#8217; column with at least 6 runs of the code. There are invariably small variations in each execution, so I find that averaging the results out gives a better idea of any performance changes (I won&#8217;t say &#8216;improvements&#8217; &#8211; it doesn&#8217;t always work like that!). Paste screen shots of these results into a document to show the changes, along with execution plans if possible. Then you can show the work done should there be any questions relating to it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ross</title>
		<link>http://www.brentozar.com/archive/2012/12/sql-server-management-studio-include-client-statistics-button/#comment-105115</link>
		<dc:creator>ross</dc:creator>
		<pubDate>Mon, 10 Dec 2012 13:26:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.brentozar.com/?p=17029#comment-105115</guid>
		<description><![CDATA[Thanks for clarifying guys

ross]]></description>
		<content:encoded><![CDATA[<p>Thanks for clarifying guys</p>
<p>ross</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Bullen</title>
		<link>http://www.brentozar.com/archive/2012/12/sql-server-management-studio-include-client-statistics-button/#comment-105066</link>
		<dc:creator>Kevin Bullen</dc:creator>
		<pubDate>Mon, 10 Dec 2012 12:27:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.brentozar.com/?p=17029#comment-105066</guid>
		<description><![CDATA[Interesting.  I have a lunch &#039;n learn scheduled for later this week with our SQL developers and this is included as a demo.  I use the &#039;Bytes received from server&#039; column to demo why you should include NO COUNT in your procedures and triggers.]]></description>
		<content:encoded><![CDATA[<p>Interesting.  I have a lunch &#8216;n learn scheduled for later this week with our SQL developers and this is included as a demo.  I use the &#8216;Bytes received from server&#8217; column to demo why you should include NO COUNT in your procedures and triggers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Feodor</title>
		<link>http://www.brentozar.com/archive/2012/12/sql-server-management-studio-include-client-statistics-button/#comment-105008</link>
		<dc:creator>Feodor</dc:creator>
		<pubDate>Mon, 10 Dec 2012 11:21:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.brentozar.com/?p=17029#comment-105008</guid>
		<description><![CDATA[@ross The Client Statisics have very little to do with the SQL Server caching. Most of the Client Statistics functionality is related to the &#039;big picture&#039; of client to database request and the data being sent back to the client. Whether the data is in cache of SQL Server or not it would not matter for the TDS packets nor for the &#039;Bytes received from server&#039;.
The only single place where you see the effect of the data being cached or not is &#039;Wait time on server replies&#039;. 

Wait time on server replies – is the time in milliseconds between the last request packet which left the client and the first response packet which came back from the server to the client.

So in this case, if you have the data in chache, this time generally will be shorter in the consequtive runs. And if you clear the cache, then the time will be longer for the first execution, because the data needs to be cached. (Use SSDs and the time difference will be insignificant. :) )

Hope this helps. 

Regards,
Feodor]]></description>
		<content:encoded><![CDATA[<p>@ross The Client Statisics have very little to do with the SQL Server caching. Most of the Client Statistics functionality is related to the &#8216;big picture&#8217; of client to database request and the data being sent back to the client. Whether the data is in cache of SQL Server or not it would not matter for the TDS packets nor for the &#8216;Bytes received from server&#8217;.<br />
The only single place where you see the effect of the data being cached or not is &#8216;Wait time on server replies&#8217;. </p>
<p>Wait time on server replies – is the time in milliseconds between the last request packet which left the client and the first response packet which came back from the server to the client.</p>
<p>So in this case, if you have the data in chache, this time generally will be shorter in the consequtive runs. And if you clear the cache, then the time will be longer for the first execution, because the data needs to be cached. (Use SSDs and the time difference will be insignificant. <img src='http://cdn.prod.brentozar.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</p>
<p>Hope this helps. </p>
<p>Regards,<br />
Feodor</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott R.</title>
		<link>http://www.brentozar.com/archive/2012/12/sql-server-management-studio-include-client-statistics-button/#comment-101279</link>
		<dc:creator>Scott R.</dc:creator>
		<pubDate>Fri, 07 Dec 2012 22:43:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.brentozar.com/?p=17029#comment-101279</guid>
		<description><![CDATA[Jes,

Great post and many thanks for this tip.  I had not known about this feature before.  It seems real useful and easy to use (one click!).

You can copy and paste the Client Statistics tab results into other docs, Excel, etc. – but not with the column headings (like in the query results tab) – not a biggie.

At first, I thought this might be a new SSMS feature in SQL 2012.  Since then, I confirmed that the feature is present in SSMS for SQL 2008 R2, SQL 2008, and SQL 2005 as well.  I also checked the Query Analyzer tool from SQL 2000 (predecessor of SSMS), and it has a simpler version of this feature (no tool bar icon - enable through the Query menu or keyboard shortcut, and only displays statistics for the most recent query run and the averages across runs versus displaying the history of multiple runs).  So this feature has been around for quite a while!  Who knew?

I Googled for prior hits on the topic and found some - but if you didn&#039;t know to look for the specific topic (the feature name of &quot;Client Statistics&quot;) or hadn&#039;t stumbled across it, you probably wouldn&#039;t know it was there.  Another case where covering a topic again can be a very good thing - thanks a second time.

Like Feodor, I think it would be great if there were similar tools / capabilities to track app level SQL client interactions.  Another topic for another time.


Thanks again,

Scott R.]]></description>
		<content:encoded><![CDATA[<p>Jes,</p>
<p>Great post and many thanks for this tip.  I had not known about this feature before.  It seems real useful and easy to use (one click!).</p>
<p>You can copy and paste the Client Statistics tab results into other docs, Excel, etc. – but not with the column headings (like in the query results tab) – not a biggie.</p>
<p>At first, I thought this might be a new SSMS feature in SQL 2012.  Since then, I confirmed that the feature is present in SSMS for SQL 2008 R2, SQL 2008, and SQL 2005 as well.  I also checked the Query Analyzer tool from SQL 2000 (predecessor of SSMS), and it has a simpler version of this feature (no tool bar icon &#8211; enable through the Query menu or keyboard shortcut, and only displays statistics for the most recent query run and the averages across runs versus displaying the history of multiple runs).  So this feature has been around for quite a while!  Who knew?</p>
<p>I Googled for prior hits on the topic and found some &#8211; but if you didn&#8217;t know to look for the specific topic (the feature name of &#8220;Client Statistics&#8221;) or hadn&#8217;t stumbled across it, you probably wouldn&#8217;t know it was there.  Another case where covering a topic again can be a very good thing &#8211; thanks a second time.</p>
<p>Like Feodor, I think it would be great if there were similar tools / capabilities to track app level SQL client interactions.  Another topic for another time.</p>
<p>Thanks again,</p>
<p>Scott R.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jes Schultz Borland</title>
		<link>http://www.brentozar.com/archive/2012/12/sql-server-management-studio-include-client-statistics-button/#comment-101103</link>
		<dc:creator>Jes Schultz Borland</dc:creator>
		<pubDate>Fri, 07 Dec 2012 19:56:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.brentozar.com/?p=17029#comment-101103</guid>
		<description><![CDATA[You will not always see a reduction in &quot;Bytes received from server&quot; or &quot;TDS packets received from server&quot;, even if the exact same query us run multiple times.]]></description>
		<content:encoded><![CDATA[<p>You will not always see a reduction in &#8220;Bytes received from server&#8221; or &#8220;TDS packets received from server&#8221;, even if the exact same query us run multiple times.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Something for the Weekend - SQL Server Links 06/12/12</title>
		<link>http://www.brentozar.com/archive/2012/12/sql-server-management-studio-include-client-statistics-button/#comment-101092</link>
		<dc:creator>Something for the Weekend - SQL Server Links 06/12/12</dc:creator>
		<pubDate>Fri, 07 Dec 2012 19:50:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.brentozar.com/?p=17029#comment-101092</guid>
		<description><![CDATA[[...] SQL Server Management Studio: “Include Client Statistics” Button - SSMS tools for performance tuning from Jes Borland (Blog&#124;Twitter). Good call, as this measuring tool often gets overlooked. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] SQL Server Management Studio: “Include Client Statistics” Button - SSMS tools for performance tuning from Jes Borland (Blog|Twitter). Good call, as this measuring tool often gets overlooked. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Feodor</title>
		<link>http://www.brentozar.com/archive/2012/12/sql-server-management-studio-include-client-statistics-button/#comment-100534</link>
		<dc:creator>Feodor</dc:creator>
		<pubDate>Fri, 07 Dec 2012 16:30:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.brentozar.com/?p=17029#comment-100534</guid>
		<description><![CDATA[Yes, this is a great post! 
I like using Client statistics when developing complex logic queries and procedures in SQL Server. 

The Client Statistics kinda give an insight on what is going on beyond the SQL Server internals, i.e. TDS packets, network volumes transferred etc. 

Recently I wrote an article on the &#039;big picture&#039; topic, which explains more in detail the full cycle of the workload which goes to and from SQL Server. The article can be read here: http://www.simple-talk.com/sql/database-administration/how-come-the-hourglass-why-database-applications-slow-down.-/

There is one limitation of the Client Statistics in Management Studio, though. It only measures the workload of a query from Management Studio to the database engine. There is no way for them to measure the actual client statistics of an application. It would be so nice if there was a tool which could account and aggregate the TDS and network traffic in a similar way from the application perspective, don&#039;t you think?]]></description>
		<content:encoded><![CDATA[<p>Yes, this is a great post!<br />
I like using Client statistics when developing complex logic queries and procedures in SQL Server. </p>
<p>The Client Statistics kinda give an insight on what is going on beyond the SQL Server internals, i.e. TDS packets, network volumes transferred etc. </p>
<p>Recently I wrote an article on the &#8216;big picture&#8217; topic, which explains more in detail the full cycle of the workload which goes to and from SQL Server. The article can be read here: <a href="http://www.simple-talk.com/sql/database-administration/how-come-the-hourglass-why-database-applications-slow-down.-/" rel="nofollow">http://www.simple-talk.com/sql/database-administration/how-come-the-hourglass-why-database-applications-slow-down.-/</a></p>
<p>There is one limitation of the Client Statistics in Management Studio, though. It only measures the workload of a query from Management Studio to the database engine. There is no way for them to measure the actual client statistics of an application. It would be so nice if there was a tool which could account and aggregate the TDS and network traffic in a similar way from the application perspective, don&#8217;t you think?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Golam Kabir</title>
		<link>http://www.brentozar.com/archive/2012/12/sql-server-management-studio-include-client-statistics-button/#comment-100453</link>
		<dc:creator>Golam Kabir</dc:creator>
		<pubDate>Fri, 07 Dec 2012 15:20:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.brentozar.com/?p=17029#comment-100453</guid>
		<description><![CDATA[This is a good tip. Keep writing please.]]></description>
		<content:encoded><![CDATA[<p>This is a good tip. Keep writing please.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching using memcached
Object Caching 348/350 objects using memcached
Content Delivery Network via Amazon Web Services: S3: cdn.prod.brentozar.com
Application Monitoring using New Relic

 Served from: www.brentozar.com @ 2013-06-19 22:05:26 by W3 Total Cache -->