<?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 : Slow Default.asp load time</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 : Slow Default.asp load time]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 03 Apr 2026 23:15:52 +0000</pubDate>
  <lastBuildDate>Sat, 25 Oct 2003 18:47:20 +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=6693</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[Slow Default.asp load time : What I did was I removed the hit...]]></title>
   <link>https://forums.webwiz.net/slow-default-asp-load-time_topic6693_post32959.html#32959</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=9441">ljamal</a><br /><strong>Subject:</strong> 6693<br /><strong>Posted:</strong> 25&nbsp;October&nbsp;2003 at 6:47pm<br /><br />What I did was I removed the hit for the Configuration and placed it into a configuration file. One hit gone.<br /><br />I created a join to join the categories and forums. That reduces the category and forum calls (which increases with every forum added) to one query. <br /><br />I returned all the permission for the user in one recordset which I set into an array.<br /><br />and then I took the above along with the rest of the queries on the page and stuck them into one stored procedure and thus all that information is stuck into one database call.<br /><br /><br />Ideally, the database would be rewritten as well. Currently the database is as extremely normalized. By removing some of the normalization, it would make for a better design for the application. First I would add a column for the last post and the last author to the forum table along with the topic and post counts. This same method would follow into the topics area. This would allow direct joins between one or two tables rather than complex joins over multiple tables. <br /><br />For permissions, I would use a stored procedure to create a temp table with the forum information and the base permissions and then update those base permission in the temp table to whatever the permission table altered the value to.<br /><br />There are more things that I would change but those mentined would increase the performance of the forum by placing more of the SQL processing on the SQL server and less of the processing through ASP and multiple SQL calls. This is something that can easily be done with SQL Server, but impossible with Access. If the goal is to continue to support Access and SQL, then I would suggest moving towards saving recordsets into array so that the database recordsets can queried and set aside for later processing.]]>
   </description>
   <pubDate>Sat, 25 Oct 2003 18:47:20 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/slow-default-asp-load-time_topic6693_post32959.html#32959</guid>
  </item> 
  <item>
   <title><![CDATA[Slow Default.asp load time : ljamal, how would you code all...]]></title>
   <link>https://forums.webwiz.net/slow-default-asp-load-time_topic6693_post32952.html#32952</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1070">MadDog</a><br /><strong>Subject:</strong> 6693<br /><strong>Posted:</strong> 25&nbsp;October&nbsp;2003 at 6:05pm<br /><br /><P>ljamal,</P><P>how would you code all of that into one MSSQL query???</P>]]>
   </description>
   <pubDate>Sat, 25 Oct 2003 18:05:37 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/slow-default-asp-load-time_topic6693_post32952.html#32952</guid>
  </item> 
  <item>
   <title><![CDATA[Slow Default.asp load time : See if you got a lot of PMs in...]]></title>
   <link>https://forums.webwiz.net/slow-default-asp-load-time_topic6693_post32923.html#32923</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=6296">fernan82</a><br /><strong>Subject:</strong> 6693<br /><strong>Posted:</strong> 25&nbsp;October&nbsp;2003 at 3:12pm<br /><br />See if you got a lot of PMs in your database and delete them periodically, if you got a whole bunch it takes longer for the database to query for new PMs.<br /><br />If you need the active users then remove the ones at the bottom, no need to have them twice. Also if your nav bar is the mod that's posted here I just looked at it and it hits the db once for each member to get the username so if you got 10 members online is 10 xtra hits, plus one you use on your site to get the count of active users on the button. It can all be gotten with one, later I will post the one I use in my site as a mod, it gets the amount of members, the amount of guests, and the list of members with 1 hit...]]>
   </description>
   <pubDate>Sat, 25 Oct 2003 15:12:44 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/slow-default-asp-load-time_topic6693_post32923.html#32923</guid>
  </item> 
  <item>
   <title><![CDATA[Slow Default.asp load time : cheers I&amp;#039;ll have a look at...]]></title>
   <link>https://forums.webwiz.net/slow-default-asp-load-time_topic6693_post32891.html#32891</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=8016">PrimeraRacer</a><br /><strong>Subject:</strong> 6693<br /><strong>Posted:</strong> 25&nbsp;October&nbsp;2003 at 11:11am<br /><br /><P>cheers I'll have a look at removing some stuff maybe, although we do need to keep the active users and active topics stuff as they are a requirement of our users :(</P><P>its a bit wierd though cos it take 10 times longer when your not logged in!</P><P>Cheers</P><P>Kev</P>]]>
   </description>
   <pubDate>Sat, 25 Oct 2003 11:11:15 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/slow-default-asp-load-time_topic6693_post32891.html#32891</guid>
  </item> 
  <item>
   <title><![CDATA[Slow Default.asp load time : Here&amp;#039;s some things you can...]]></title>
   <link>https://forums.webwiz.net/slow-default-asp-load-time_topic6693_post32876.html#32876</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=6296">fernan82</a><br /><strong>Subject:</strong> 6693<br /><strong>Posted:</strong> 25&nbsp;October&nbsp;2003 at 9:40am<br /><br />Here's some things you can do:<br /><br />1. Get rid of the nav bar with the active users on top, that's a list 1 hit to the db depending how it's done.<br /><br />2. Get rid of the member birthdays thing you got, that's at least one more hit.<br /><br />3. Get rid of the latest posts at the bottom, that's at least one more hit and if you used the mod posted here that checks the permissions then it's one more hit for each latest topic 13 xtra hit's in your case. It can be done with just one tho, but the mod uses all that...<br /><br />4. Disable active users. If I remember right WWF uses 2 or 3 hits to the db to get that simple count... Plus 3 more hits on active_users_inc.asp.<br /><br />After you get rid of all that you should notice a difference...<span style="font-size:10px"><br /><br />Edited by fernan82</span>]]>
   </description>
   <pubDate>Sat, 25 Oct 2003 09:40:22 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/slow-default-asp-load-time_topic6693_post32876.html#32876</guid>
  </item> 
  <item>
   <title><![CDATA[Slow Default.asp load time : Without physical rewriting the...]]></title>
   <link>https://forums.webwiz.net/slow-default-asp-load-time_topic6693_post32871.html#32871</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=9441">ljamal</a><br /><strong>Subject:</strong> 6693<br /><strong>Posted:</strong> 25&nbsp;October&nbsp;2003 at 9:02am<br /><br />Without physical rewriting the page for you, there is not much help to be given. <br /><br />Currently for the default page, WWF makes:<br />1 hit to check the database configuration<br /><br />4 if you are logged in and have private messages turned on. 2 if PMs are turned off.<br /><br />3 More if you have active messages turned on.<br /><br />1 for All Categories<br /><br />1 for each category to return the forums<br /><br />1 for each forum to get forum permissions<br /><br />1 for each forum to get the forum group Moderators (if moderators are displayed)<br /><br />1 for each forum to get the forum user Moderators (if moderators are displayed)<br /><br />1 for each forum to get the last post date<br /><br />1 call to get the last registered user<br /><br />2 calls to get the active users and guests<br /><br />If you have 1 forum and everything turned on that's 17 hits to the database. That's the bare minimum hits to the database if you have forums and it increase from there.<br /><br />I would love to consult with -borg- to correct this problem for SQL and suggest methods for improving the forum, but it would take a entire rewrite of the current code and I don't think he would be interested in something like that right now.<br /><br />When I have time, I was planning on releasing a SQL optimized version of the code, but I have 4 projects i n production at this point. Maybe in the future, I'll have time to talk with -borg- about this.]]>
   </description>
   <pubDate>Sat, 25 Oct 2003 09:02:05 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/slow-default-asp-load-time_topic6693_post32871.html#32871</guid>
  </item> 
  <item>
   <title><![CDATA[Slow Default.asp load time :   ljamal wrote:Are your SQL server...]]></title>
   <link>https://forums.webwiz.net/slow-default-asp-load-time_topic6693_post32854.html#32854</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=8016">PrimeraRacer</a><br /><strong>Subject:</strong> 6693<br /><strong>Posted:</strong> 25&nbsp;October&nbsp;2003 at 5:35am<br /><br /><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by ljamal" alt="Originally posted by ljamal" style="vertical-align: text-bottom;" /> <strong>ljamal wrote:</strong><br /><br />Are your SQL server and web server on the same network? The load problem you are experiencing is caused by the multiple calls to the database. With version 7.01, the default page makes 3-4 calls to the SQL Server per forum in the database. Each call takes maybe .5 seconds, but when you have 10-20 forums, it begins to add up. I first noticed this problem when I went live with the forums as my SQL server is local to my development server but it's 3 time zones away from my live server and pages that took 2 seconds to generate on the development server were taking 15-20 seconds on the live server. <BR><BR>The solution for me was to rewrite the code for the most accessed pages so that all the information could be returned from one call to the SQL Server. I would love to sit down and implement it through the forum, but it would take a major rewrite of the code as the code for the forum does not use SQL Server to its maximum potential. This forum is really written for Access and that's the main reason that the SQL Server code is poorly implemented. <BR><BR>My suggestion, if you don't have a large forum is to which to Access. Otherwise, to speed up the pages you will need to rewrite the SQL calls for the slow pages.</td></tr></table> </P><P>many thanks.</P><P>Its really only the default page that slow, I figured it would be calls to the SQL server or somethign slowing it dow, we do indeed have quite a few forums. I'm no expert when it comes to writing calls to an SQL server but any help you can give on getting just that page sorted would be a great help!!!</P><P>Thanks again</P>]]>
   </description>
   <pubDate>Sat, 25 Oct 2003 05:35:49 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/slow-default-asp-load-time_topic6693_post32854.html#32854</guid>
  </item> 
  <item>
   <title><![CDATA[Slow Default.asp load time :   God_Struth wrote:  PrimeraRacer...]]></title>
   <link>https://forums.webwiz.net/slow-default-asp-load-time_topic6693_post32853.html#32853</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=8016">PrimeraRacer</a><br /><strong>Subject:</strong> 6693<br /><strong>Posted:</strong> 25&nbsp;October&nbsp;2003 at 5:33am<br /><br /><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by God_Struth" alt="Originally posted by God_Struth" style="vertical-align: text-bottom;" /> <strong>God_Struth wrote:</strong><br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by PrimeraRacer" alt="Originally posted by PrimeraRacer" style="vertical-align: text-bottom;" /> <strong>PrimeraRacer wrote:</strong><br /><br />this IS a confirmed issue with the code on default.asp....</td></tr></table> <BR><BR><BR>If its a 'confirmed issue' then surely you would know whats wrong and would merely be seeking help on how to ammend it, if you don't know then it cannot be a 'confirmed issue'. <BR><BR><BR>Post what results you got that came to the conclusion that this is indeed a problem. I also use SQL version and would love to know what speed issues you have found. <BR><BR></td></tr></table> </P><P>I knew I would get someone answer like this. if you read the post properly you would see I put "issue" not problem. its confirmed because it slows down when your not logged in, hence its not an ISP thing....also it only happens on the defautl page and no others.&nbsp;perhaps you could just help me try and improve it rather than try and instantly throw it back on me.... the guy after you seems to be helping, why not try and be more like him eh!</P>]]>
   </description>
   <pubDate>Sat, 25 Oct 2003 05:33:25 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/slow-default-asp-load-time_topic6693_post32853.html#32853</guid>
  </item> 
  <item>
   <title><![CDATA[Slow Default.asp load time : Are your SQL server and web server...]]></title>
   <link>https://forums.webwiz.net/slow-default-asp-load-time_topic6693_post32839.html#32839</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=9441">ljamal</a><br /><strong>Subject:</strong> 6693<br /><strong>Posted:</strong> 24&nbsp;October&nbsp;2003 at 11:46pm<br /><br />Are your SQL server and web server on the same network? The load problem you are experiencing is caused by the multiple calls to the database. With version 7.01, the default page makes 3-4 calls to the SQL Server per forum in the database. Each call takes maybe .5 seconds, but when you have 10-20 forums, it begins to add up. I first noticed this problem when I went live with the forums as my SQL server is local to my development server but it's 3 time zones away from my live server and pages that took 2 seconds to generate on the development server were taking 15-20 seconds on the live server.<br /><br />The solution for me was to rewrite the code for the most accessed pages so that all the information could be returned from one call to the SQL Server. I would love to sit down and implement it through the forum, but it would take a major rewrite of the code as the code for the forum does not use SQL Server to its maximum potential. This forum is really written for Access and that's the main reason that the SQL Server code is poorly implemented. <br /><br />My suggestion, if you don't have a large forum is to which to Access. Otherwise, to speed up the pages you will need to rewrite the SQL calls for the slow pages.]]>
   </description>
   <pubDate>Fri, 24 Oct 2003 23:46:40 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/slow-default-asp-load-time_topic6693_post32839.html#32839</guid>
  </item> 
  <item>
   <title><![CDATA[Slow Default.asp load time :   PrimeraRacer wrote:this IS...]]></title>
   <link>https://forums.webwiz.net/slow-default-asp-load-time_topic6693_post32835.html#32835</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=11690">God_Struth</a><br /><strong>Subject:</strong> 6693<br /><strong>Posted:</strong> 24&nbsp;October&nbsp;2003 at 9:45pm<br /><br /> <table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by PrimeraRacer" alt="Originally posted by PrimeraRacer" style="vertical-align: text-bottom;" /> <strong>PrimeraRacer wrote:</strong><br /><br />this IS a confirmed issue with the code on default.asp....</td></tr></table> <br /><br /><br />If its a 'confirmed issue' then surely you would know whats wrong and would merely be seeking help on how to ammend it, if you don't know then it cannot be a 'confirmed issue'.<br /><br /><br />Post what results you got that came to the conclusion that this is indeed a problem. I also use SQL version and would love to know what speed issues you have found.<br /><br />]]>
   </description>
   <pubDate>Fri, 24 Oct 2003 21:45:13 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/slow-default-asp-load-time_topic6693_post32835.html#32835</guid>
  </item> 
 </channel>
</rss>