<?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: Slow response with SQL server over a network.</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/slow-response-with-sql-server-over-a-network/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/slow-response-with-sql-server-over-a-network/</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 08:25:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: The Most-Watched IT Questions: April 19, 2011 - ITKE Community Blog</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/slow-response-with-sql-server-over-a-network/#comment-91066</link>
		<dc:creator>The Most-Watched IT Questions: April 19, 2011 - ITKE Community Blog</dc:creator>
		<pubDate>Tue, 19 Apr 2011 06:57:03 +0000</pubDate>
		<guid isPermaLink="false">#comment-91066</guid>
		<description><![CDATA[[...] Mrdenny, Kccrosser, and Darryn had some ideas of why a user might be experiencing a slow response with SQL server over a network.  6. Mrdenny provided a quick and easy description of what to do to create a backup of a SQL [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Mrdenny, Kccrosser, and Darryn had some ideas of why a user might be experiencing a slow response with SQL server over a network.  6. Mrdenny provided a quick and easy description of what to do to create a backup of a SQL [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kccrosser</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/slow-response-with-sql-server-over-a-network/#comment-90504</link>
		<dc:creator>kccrosser</dc:creator>
		<pubDate>Tue, 05 Apr 2011 18:39:41 +0000</pubDate>
		<guid isPermaLink="false">#comment-90504</guid>
		<description><![CDATA[A few things to consider:

Are the tables actually identical in format?  Particularly variable (or fixed!) length character fields.  If a field is defined as a fixed length field in SQL, most drivers will download all the trailing blanks in the field, taking up additional network time.
Verify that all fields are in fact identical in type and length (or true equivalents, since there are types that are not exactly identical).

Most ODBC drivers (or other &quot;open&quot; client database drivers) tend to return ONE row per IP packet.  If you are using a native Microsoft Access client, it may pack multiple rows in a single packet and save a lot of network round trips.  (It may also pack/discard trailing blanks in transmission.)

This can be particularly bad if the average data row size returned is just a little over 1300 bytes (or just over 1/2 that - 670+ bytes).  Many systems are configured with an MTU size of 1400, which means a maximum data payload of about 1380 bytes in most packets.  If your average row size is just over that size, each row can wind up taking two packets, with two network round-trip overheads.  You can try increasing your MTU size and see if that speed up the response.  (However, if elsewhere in your network, a router changes to a smaller MTU size, it can actually re-fragment, causing additional overhead.)
If your average row length is just over 1/2 the available payload, the same problem occurs - one row gets sent, wasting possibly half the packet space.  Network round-trips are very expensive in time.

Lastly, how are you measuring the difference?  Is this the time until the first &quot;page&quot; of results are displayed on the screen, or is this the total time to retrieve all the results to a file or other storage on the client?  Access may quickly show the 1st page, while SQL Server may be retrieving ALL the results before displaying.]]></description>
		<content:encoded><![CDATA[<p>A few things to consider:</p>
<p>Are the tables actually identical in format?  Particularly variable (or fixed!) length character fields.  If a field is defined as a fixed length field in SQL, most drivers will download all the trailing blanks in the field, taking up additional network time.<br />
Verify that all fields are in fact identical in type and length (or true equivalents, since there are types that are not exactly identical).</p>
<p>Most ODBC drivers (or other &#8220;open&#8221; client database drivers) tend to return ONE row per IP packet.  If you are using a native Microsoft Access client, it may pack multiple rows in a single packet and save a lot of network round trips.  (It may also pack/discard trailing blanks in transmission.)</p>
<p>This can be particularly bad if the average data row size returned is just a little over 1300 bytes (or just over 1/2 that &#8211; 670+ bytes).  Many systems are configured with an MTU size of 1400, which means a maximum data payload of about 1380 bytes in most packets.  If your average row size is just over that size, each row can wind up taking two packets, with two network round-trip overheads.  You can try increasing your MTU size and see if that speed up the response.  (However, if elsewhere in your network, a router changes to a smaller MTU size, it can actually re-fragment, causing additional overhead.)<br />
If your average row length is just over 1/2 the available payload, the same problem occurs &#8211; one row gets sent, wasting possibly half the packet space.  Network round-trips are very expensive in time.</p>
<p>Lastly, how are you measuring the difference?  Is this the time until the first &#8220;page&#8221; of results are displayed on the screen, or is this the total time to retrieve all the results to a file or other storage on the client?  Access may quickly show the 1st page, while SQL Server may be retrieving ALL the results before displaying.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: darryn</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/slow-response-with-sql-server-over-a-network/#comment-90498</link>
		<dc:creator>darryn</dc:creator>
		<pubDate>Tue, 05 Apr 2011 13:58:52 +0000</pubDate>
		<guid isPermaLink="false">#comment-90498</guid>
		<description><![CDATA[You&#039;ve also got to consider how you are opening the Access db if you want to compare responses. If you are just opening an access db that is stored on a network location, then it will usually create a copy of the db on your local drive, so that when you execute your query it won&#039;t actually be fetching the data over the network.]]></description>
		<content:encoded><![CDATA[<p>You&#8217;ve also got to consider how you are opening the Access db if you want to compare responses. If you are just opening an access db that is stored on a network location, then it will usually create a copy of the db on your local drive, so that when you execute your query it won&#8217;t actually be fetching the data over the network.</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 3/8 queries in 0.037 seconds using memcached
Object Caching 297/298 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 09:11:33 -->