<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Web Wiz Support and Community Forums : SQL Server Speed Issue</title>
  <link>https://forums.webwiz.net/</link>
  <description><![CDATA[This is an XML content feed of; Web Wiz Support and Community Forums : Web Wiz Forums : SQL Server Speed Issue]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 13 Apr 2026 21:56:27 +0000</pubDate>
  <lastBuildDate>Fri, 02 Sep 2005 04:22:31 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.08</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forums.webwiz.net/RSS_post_feed.asp?TID=16163</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Web Wiz Support and Community Forums]]></title>
   <url>https://forums.webwiz.net/forum_images/web_wiz_forums.png</url>
   <link>https://forums.webwiz.net/</link>
  </image>
  <item>
   <title><![CDATA[SQL Server Speed Issue : I&amp;#039;m an administrator of the...]]></title>
   <link>https://forums.webwiz.net/sql-server-speed-issue_topic16163_post89799.html#89799</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=21339">ricardohzsz</a><br /><strong>Subject:</strong> 16163<br /><strong>Posted:</strong> 02&nbsp;September&nbsp;2005 at 4:22am<br /><br /><P>I'm an administrator of the forum <A href="http://www.mvp-access.com/foroOur" target="_blank">http://www.mvp-access.com/foro</P><DIV></DIV></A>Our actual database is an 100+ Megabytes mdb. I've experimented this poor perfomance when using the 7.92 versión with the migrated database. But really, the speed issue is not related with database size.<DIV>&nbsp;</DIV><DIV>The flaw is not the connection pooling. Really, the connection pooling is working very well. The problem is the persistent connection. At least in my machine.</DIV><DIV>&nbsp;</DIV><DIV>I've used the sql server profiler to find what's happening. Every time that asp pages performs an action using the persistent connection adoCon, in the profiler trace appears "audit" entrys with a high delay.</DIV><DIV>&nbsp;</DIV><DIV>I made many changes y the database design but no results: clustered indexes, redundant indexes, ...</DIV><DIV>&nbsp;</DIV><DIV>I'm not an expert on sql server and iis, but i think that sql server test if the persistent connection is still valid when asp pages uses it. And this test is (by large) more expensive than opening a new connection thanks to connection pooling. This is my opinnion.</DIV><DIV>&nbsp;</DIV><DIV>The problem is not related to the dataset size. The speed problem appears in a completely new forum. Try a new instalation with only 1 category, only 1 forum, a some messages in this forum.</DIV>]]>
   </description>
   <pubDate>Fri, 02 Sep 2005 04:22:31 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/sql-server-speed-issue_topic16163_post89799.html#89799</guid>
  </item> 
  <item>
   <title><![CDATA[SQL Server Speed Issue : Thanks ricardohzsz, that is a...]]></title>
   <link>https://forums.webwiz.net/sql-server-speed-issue_topic16163_post89197.html#89197</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=19649">JJLatWebWiz</a><br /><strong>Subject:</strong> 16163<br /><strong>Posted:</strong> 22&nbsp;August&nbsp;2005 at 6:15pm<br /><br />Thanks ricardohzsz, that is a fascinating recommendation.&nbsp; I wonder if jmarkely got the message to try your suggestion.<DIV>&nbsp;</DIV><DIV>In your experience, was the performance hit mostly a problem during the message body search also?&nbsp; How large is your data set?</DIV><DIV>&nbsp;</DIV><DIV>To implement this change on the search function, open the search.asp page and look for this text:</DIV><DIV>&nbsp;</DIV><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><DIV><FONT face="Courier New, Courier, mono" size=1>'Set the cursor type property of the record set to dynamic so we can naviagate through the record set<BR>rsCommon.CursorType = 1</FONT></DIV><DIV><FONT face="Courier New" size=1></FONT>&nbsp;</DIV><DIV><FONT face="Courier New, Courier, mono" size=1>'Query the database<BR>rsCommon.Open strSQLResultsQuery, adoCon</FONT></DIV></BLOCKQUOTE><DIV>Then change&nbsp;<strong>adoCon</strong> to <strong>strCon</strong>.</DIV><DIV>&nbsp;</DIV><DIV>I've done this change on a couple different pages running on MySQL and MS SQL and both seem to work fine.&nbsp; It's very difficult for me to compare performance based on this change because my datasets just aren't large enough to see a problem yet.&nbsp; I wonder if this is a flaw in the ADO connection pooling system?</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 22 Aug 2005 18:15:12 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/sql-server-speed-issue_topic16163_post89197.html#89197</guid>
  </item> 
  <item>
   <title><![CDATA[SQL Server Speed Issue : I&amp;#039;ve experimented the same...]]></title>
   <link>https://forums.webwiz.net/sql-server-speed-issue_topic16163_post88905.html#88905</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=21339">ricardohzsz</a><br /><strong>Subject:</strong> 16163<br /><strong>Posted:</strong> 17&nbsp;August&nbsp;2005 at 7:05pm<br /><br />I've experimented the same problem. The problem was the persistent connection to the server "adoCon". I've deleted the adoCon variable and i'm using the connection string instead. <DIV>&nbsp;</DIV><DIV>Old line:&nbsp; rsCommon.Open strSQL, <FONT color=#ff0000>adoCon</FONT></DIV><DIV>New line: rsCommon.Open strSQL, <FONT color=#0000ff>strCon</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV>I'm using the same machine for IIS and Sql Server. The perfomance are much better.</DIV><DIV>&nbsp;</DIV><DIV>I've added this function to execute actions and sql sentences that don't return records</DIV><DIV>&nbsp;</DIV><DIV>Public function ExecSp(byval strSQL)<BR>&nbsp;Dim cn <BR>&nbsp;<BR>&nbsp;set cn=createobject("ADODB.Connection")<BR>&nbsp;cn.Open strCon<BR>&nbsp;cn.execute strSQL, ,128<BR>&nbsp;set cn = nothing<BR>End Function</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 17 Aug 2005 19:05:02 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/sql-server-speed-issue_topic16163_post88905.html#88905</guid>
  </item> 
  <item>
   <title><![CDATA[SQL Server Speed Issue : I bet server lag is a fairly common...]]></title>
   <link>https://forums.webwiz.net/sql-server-speed-issue_topic16163_post88546.html#88546</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=19649">JJLatWebWiz</a><br /><strong>Subject:</strong> 16163<br /><strong>Posted:</strong> 09&nbsp;August&nbsp;2005 at 9:12pm<br /><br />I bet server lag is a fairly common problem for&nbsp;new users&nbsp;<EM>testing</EM> the WWF forum.&nbsp; WWF for SQL uses a lot of Stored Procedures and has pretty good indexing which should make a very quick <strong>SQL server</strong> response, especially compared to Access.&nbsp; The lag would be more pronounced on hosted solutions where the SQL server is on a remote shared SQL Server, as opposed to a SQL on the same machine as the IIS server or at least one in the same network subnet and where one SQL Server is dedicated to each IIS server.<DIV>&nbsp;</DIV><DIV>Do hosts let clients run the MS SQL Query Analyzer in order gauge server responsiveness?</DIV><DIV>&nbsp;</DIV><DIV>A few things are certain, on an active WWF forum, the SQL version will maintain more consistant performance with a much higher load.&nbsp; Including loads that will break Access.&nbsp; Also, having the MDB on the host machine is a security risk that is mitigated by SQL.</DIV>]]>
   </description>
   <pubDate>Tue, 09 Aug 2005 21:12:30 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/sql-server-speed-issue_topic16163_post88546.html#88546</guid>
  </item> 
  <item>
   <title><![CDATA[SQL Server Speed Issue : this can be because of a number...]]></title>
   <link>https://forums.webwiz.net/sql-server-speed-issue_topic16163_post88541.html#88541</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=2216">dj air</a><br /><strong>Subject:</strong> 16163<br /><strong>Posted:</strong> 09&nbsp;August&nbsp;2005 at 6:13pm<br /><br />this can be because of a number of issues<br><br>- distance between servers<br>- on same server as web<br>- overloaded server<br><br>but also note, it takes a while for the indexs to be effective.<br>]]>
   </description>
   <pubDate>Tue, 09 Aug 2005 18:13:19 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/sql-server-speed-issue_topic16163_post88541.html#88541</guid>
  </item> 
  <item>
   <title><![CDATA[SQL Server Speed Issue : Since migrating from Access to...]]></title>
   <link>https://forums.webwiz.net/sql-server-speed-issue_topic16163_post88538.html#88538</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=21394">jmarkley</a><br /><strong>Subject:</strong> 16163<br /><strong>Posted:</strong> 09&nbsp;August&nbsp;2005 at 5:16pm<br /><br />Since migrating from Access to SQL Server, there seems to be a severe lag in response.&nbsp; Is this an existing issue?&nbsp; Are there any fixes?]]>
   </description>
   <pubDate>Tue, 09 Aug 2005 17:16:00 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/sql-server-speed-issue_topic16163_post88538.html#88538</guid>
  </item> 
 </channel>
</rss>