<?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 : 8beta2 Appreciable decline of productivity</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 : 8beta2 Appreciable decline of productivity]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 13 Apr 2026 06:50:47 +0000</pubDate>
  <lastBuildDate>Mon, 13 Mar 2006 15:15:07 +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=18571</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[8beta2 Appreciable decline of productivity : Some nice ideas, I will certainly...]]></title>
   <link>https://forums.webwiz.net/8beta2-appreciable-decline-of-productivity_topic18571_post101202.html#101202</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 18571<br /><strong>Posted:</strong> 13&nbsp;March&nbsp;2006 at 3:15pm<br /><br />Some nice ideas, I will certainly have to look into them and see what can be done.]]>
   </description>
   <pubDate>Mon, 13 Mar 2006 15:15:07 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/8beta2-appreciable-decline-of-productivity_topic18571_post101202.html#101202</guid>
  </item> 
  <item>
   <title><![CDATA[8beta2 Appreciable decline of productivity : Hi Borg I just thought of a simpler...]]></title>
   <link>https://forums.webwiz.net/8beta2-appreciable-decline-of-productivity_topic18571_post101196.html#101196</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=22914">DeadMeat</a><br /><strong>Subject:</strong> 18571<br /><strong>Posted:</strong> 13&nbsp;March&nbsp;2006 at 1:41pm<br /><br /><P>Hi Borg</P><P>I just thought of a simpler approach, that would not require the DB to be hit twice, and that is to do a TOP select of 5 times the number of topics per page plus 1. Then in the code check to see if the number of returned records is equal to this, if so then the number of pages at the top and bottom would end up being 1 2 3 4 5 more... When the user selects page 4 then you increase the Select amount to 10 times the number of topics per page, etc etc. This might cause a slow down in the release of the new V8, but this would sort out your speed issue on the topics page, as you would normally only be loading 5 times the topic count. I know that is adds to the code, but it would make the topics page display quicker.</P><P>Anyway just some ideas.</P><P>Thanks<BR>DM</P>]]>
   </description>
   <pubDate>Mon, 13 Mar 2006 13:41:47 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/8beta2-appreciable-decline-of-productivity_topic18571_post101196.html#101196</guid>
  </item> 
  <item>
   <title><![CDATA[8beta2 Appreciable decline of productivity : Hi Borg  I know what you mean....]]></title>
   <link>https://forums.webwiz.net/8beta2-appreciable-decline-of-productivity_topic18571_post101169.html#101169</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=22914">DeadMeat</a><br /><strong>Subject:</strong> 18571<br /><strong>Posted:</strong> 13&nbsp;March&nbsp;2006 at 5:15am<br /><br />Hi Borg<DIV>&nbsp;</DIV><DIV>I know what you mean. Another approach would be to do a double hit on the database. he first to get the count of records that are returned (this would be a simplare join as you do not need the author tables), so that you know the number of pages, and the second is to do the actual select. Now you already know how many topics per page each user has, so I would limit the TOP portion of the select statement to 5 times that limit, this will make it really fast, then if he bounces onto the page 6 or 11 etc, then you would increase the select statement by a further 5 times the topics. </DIV><DIV>&nbsp;</DIV><DIV>There is another approach that also might work, and that is to do the same as Yahoo, and MSN search with their results. They display only page 1-7 and when you hit page 5 then the number of pages increases etc. </DIV><DIV>&nbsp;</DIV><DIV>From my stand point I prefer the first approach as it makes it a lot easier to handle, the only problem is that you end up with 2 hits against the DB, but this might e able to be converted to one hit. I just need to test some things under Mysql. I know how it works under MSSQL, and I will feed you back my findings.</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>DM</DIV>]]>
   </description>
   <pubDate>Mon, 13 Mar 2006 05:15:33 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/8beta2-appreciable-decline-of-productivity_topic18571_post101169.html#101169</guid>
  </item> 
  <item>
   <title><![CDATA[8beta2 Appreciable decline of productivity : I think, that the basic problem...]]></title>
   <link>https://forums.webwiz.net/8beta2-appreciable-decline-of-productivity_topic18571_post101143.html#101143</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=20806">Ritchie</a><br /><strong>Subject:</strong> 18571<br /><strong>Posted:</strong> 12&nbsp;March&nbsp;2006 at 9:45am<br /><br /><SPAN id=r_text name="r_text"><SPAN id=r_text name="r_text">I think, that the basic problem all the same remains in superfluous quantity of data which returns Recordset. In process of growth of the table tblTopics it will be necessary to limit them (SELECT TOP 1000, SELECT TOP 500,&nbsp;&nbsp;SELECT TOP 200 and so on). Recordset it is necessary to limit to any possible way. One of ways in MS SQL has been offered by me. Possibly it should to work well with huge quantity of messages in the table tblTopics it will not be natural to work it with MS Acsess and MySQL. MS Acsess it is impossible to use as a source of data for greater forums. Therefore I consider, that application of one storage procedure for optimization of speed in MS SQL versions is quite justified. WWF - best of the forums, written on ASP also has no competitors. The engine of a forum should be calculated on work with greater databases</SPAN> <IMG height=17 alt=Wink src="https://forums.webwiz.net/smileys/smiley2.gif" width=17 align=absMiddle border="0"></SPAN>]]>
   </description>
   <pubDate>Sun, 12 Mar 2006 09:45:01 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/8beta2-appreciable-decline-of-productivity_topic18571_post101143.html#101143</guid>
  </item> 
  <item>
   <title><![CDATA[8beta2 Appreciable decline of productivity : I have already thought of this...]]></title>
   <link>https://forums.webwiz.net/8beta2-appreciable-decline-of-productivity_topic18571_post101098.html#101098</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 18571<br /><strong>Posted:</strong> 11&nbsp;March&nbsp;2006 at 3:06pm<br /><br />I have already thought of this and have already denormalised the tblTopics table to an extent, but I didn't want to go to far with it as storing loads of extra data would increase the size of the database. <br><br>But it is certainly something worth considering for very large large forums, however, to get around speed issues I decided to employ a different tactic of limiting the search results to the first 1000 (can't see anyone reading through more results than that) this then means the search runs very fast as only a maximum of 1000 records require the join.<br><br>To be honest, I'm wondering if it is worth limiting this amount further.<br><br><br>]]>
   </description>
   <pubDate>Sat, 11 Mar 2006 15:06:21 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/8beta2-appreciable-decline-of-productivity_topic18571_post101098.html#101098</guid>
  </item> 
  <item>
   <title><![CDATA[8beta2 Appreciable decline of productivity : Hi Borg  I had an idea on this,...]]></title>
   <link>https://forums.webwiz.net/8beta2-appreciable-decline-of-productivity_topic18571_post101080.html#101080</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=22914">DeadMeat</a><br /><strong>Subject:</strong> 18571<br /><strong>Posted:</strong> 11&nbsp;March&nbsp;2006 at 6:38am<br /><br />Hi Borg<DIV>&nbsp;</DIV><DIV>I had an idea on this, that would speed the search up, but I would not recomend it, unless you are left with no choice. It is what I would call a really serious hack of sorts, and I will only ever do it in a DB where time critical transactions are taking place. I have mainly only ever used it for financial transactions etc, where time is more important than the perfect DB. I am still not sure that 0.1 of a second is that important, but then others may disagree. So to this a way to simplify the query is to alter the TOPICS table, by adding in 4 extra fields, these being :</DIV><DIV>Start_Author_ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : int</DIV><DIV>Start_Thread_Date : datetime</DIV><DIV>Last_Author_ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : int</DIV><DIV><DIV>Last_Thread_Date&nbsp;&nbsp;: datetime</DIV><DIV>These fields would then be updated at the time that you update the fields Start_Thread_ID and Last_Thread_ID.&nbsp;This means that you do not have to include the THREAD table in the search. </DIV><DIV>&nbsp;</DIV><DIV>I would not recomend this option, as it kinda removes the normalisation of the DB, but this option would definitely speed up the search, as the search is not a simple 2 layer Join as apposed to the 3 layer join that is currently in place. </DIV><DIV>&nbsp;</DIV><DIV>Any way just another option to think about.</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>DM</DIV></DIV>]]>
   </description>
   <pubDate>Sat, 11 Mar 2006 06:38:02 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/8beta2-appreciable-decline-of-productivity_topic18571_post101080.html#101080</guid>
  </item> 
  <item>
   <title><![CDATA[8beta2 Appreciable decline of productivity : Thanks Ritchie for the suggestion,...]]></title>
   <link>https://forums.webwiz.net/8beta2-appreciable-decline-of-productivity_topic18571_post101021.html#101021</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 18571<br /><strong>Posted:</strong> 10&nbsp;March&nbsp;2006 at 12:47pm<br /><br />Thanks Ritchie for the suggestion, but do you have a version that doesn't use Stored Procedures as most of the supported database types don't support them and because of other issues with SP's version 8 won't be using them.]]>
   </description>
   <pubDate>Fri, 10 Mar 2006 12:47:59 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/8beta2-appreciable-decline-of-productivity_topic18571_post101021.html#101021</guid>
  </item> 
  <item>
   <title><![CDATA[8beta2 Appreciable decline of productivity : Greetings Borg! I have an offer...]]></title>
   <link>https://forums.webwiz.net/8beta2-appreciable-decline-of-productivity_topic18571_post100983.html#100983</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=20806">Ritchie</a><br /><strong>Subject:</strong> 18571<br /><strong>Posted:</strong> 09&nbsp;March&nbsp;2006 at 6:58pm<br /><br /><SPAN id=r_text name="r_text">Greetings Borg! I have an offer of more optimum method of sample of data instead of what is used now. It is so-called " the Method paginal SQL samples " I it did not test on WWF 8 beta 2, but I can tell, that it is less exacting to resources and returns only that quantity of data which is necessary in each concrete sample. <DIV>&nbsp;</DIV><DIV>The offered method does not apply for a rank of the best. It, maybe, and not better, but precisely is not worse than others. </DIV><DIV>&nbsp;</DIV><DIV>1. Search of the decision was based on following wishes: the Reference to new page of sample should not lead&nbsp;re-query all sample.</DIV><DIV>&nbsp;</DIV><DIV>2. The inquiry of page should return usual habitual recordset.&nbsp;Inizialisation should not be excessively long that the inquiry to the table in 1000000 lines has not tired with expectation. </DIV><DIV>&nbsp;</DIV><DIV>3. It should be at any moment authorized to choose any page from sample, including earlier chosen. </DIV><DIV>&nbsp;</DIV><DIV>4. The page should contain any set in lines. </DIV><DIV>&nbsp;</DIV><DIV>5. The page should begin with any set line under number. </DIV><DIV>&nbsp;</DIV><DIV>6. The decision satisfying to all these wishes to a srtass, has been found. </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>1. Here it: we Have inquiry which we wish to choose page by page </DIV><DIV>&nbsp;</DIV><DIV><FONT color=#ff0000>select * from BigTable </FONT></DIV><DIV>&nbsp;</DIV><DIV>we it we do not start, and it we pass to a step 2. </DIV><DIV>&nbsp;</DIV><DIV>2. We initialize thus: declare @handle int, </DIV><DIV>&nbsp;</DIV><DIV><FONT color=#ff0000>@rows int exec sp_cursoropen @handle OUT, ' select * from BigTable ', 1, 1, @rows OUT select @handle, @rows </FONT></DIV><DIV>&nbsp;</DIV><DIV>thus we receive empty recordset, containing metadata-descriptions of columns who can be used for reception of the name of fields (and types). After NextRecordset also we receive handle the turned out cursor and in lines in all sample. handle it to be necessary for us for substitution in following calls, and it should be kept on the client in a global variable, and in lines can be used for definition&nbsp;&nbsp; pages. </DIV><DIV>&nbsp;</DIV><DIV>3. We receive the necessary page from sample: </DIV><DIV>&nbsp;</DIV><DIV><FONT color=#ff0000>exec sp_cursorfetch @handle, 16, @rowid, @rowcount </FONT></DIV><DIV>&nbsp;</DIV><DIV><SPAN id=r_text name="r_text">Where in @handle it is substituted the kept value handle, in @rowid number of a line with which the page interesting us begins is substituted, and in @rowcount is substituted in lines on the given page. </SPAN></DIV><DIV><SPAN name="r_text"></SPAN>&nbsp;</DIV><DIV><SPAN name="r_text"><SPAN id=r_text name="r_text">The step 3 is repeated so much how many it is necessary time. </SPAN></SPAN></DIV><DIV><SPAN name="r_text"><SPAN name="r_text"></SPAN></SPAN>&nbsp;</DIV><DIV><SPAN name="r_text"><SPAN name="r_text">4. We release resources after pages already any more will not be necessary </SPAN></SPAN></DIV><DIV><SPAN name="r_text"><SPAN name="r_text"></SPAN></SPAN>&nbsp;</DIV><DIV><SPAN name="r_text"><SPAN name="r_text"><FONT color=#ff0000>exec sp_cursorclose @handle </FONT></SPAN></SPAN></DIV><DIV><SPAN name="r_text"><SPAN name="r_text"><FONT color=#ff0000></FONT></SPAN></SPAN>&nbsp;</DIV><DIV><SPAN name="r_text"><SPAN name="r_text"><FONT color=#ff0000></FONT></SPAN></SPAN>&nbsp;</DIV><DIV><SPAN name="r_text"><SPAN name="r_text"><SPAN id=r_text name="r_text">In our case in Query Analizer it is carried out following SQL a code</SPAN> </SPAN></SPAN></DIV><DIV><SPAN name="r_text"><SPAN name="r_text"><FONT color=#ff0000></FONT></SPAN></SPAN>&nbsp;</DIV><DIV><SPAN name="r_text"><SPAN name="r_text"><FONT color=#ff0000></FONT></SPAN></SPAN>&nbsp;</DIV><DIV><SPAN name="r_text"><SPAN name="r_text"><FONT color=#ff0000>-----------------------------------------------------------------------------</FONT></SPAN></SPAN></DIV><DIV><SPAN name="r_text"><SPAN name="r_text"><FONT color=#ff0000>Declare @handle int,@rows int</FONT></SPAN></SPAN></DIV><DIV><SPAN name="r_text"><SPAN name="r_text"><FONT color=#ff0000>EXEC sp_cursoropen @handle OUT, 'SELECT TOP 1000000 tblTopic.Topic_ID, tblTopic.Poll_ID, tblTopic.Moved_ID, <BR>tblTopic.Subject, tblTopic.Icon, tblTopic.Start_Thread_ID, tblTopic.Last_Thread_ID, <BR>tblTopic.No_of_replies, tblTopic.No_of_views, tblTopic.Locked, tblTopic.Priority, <BR>tblTopic.Hide, tblThread.Message_date, tblThread.Message, tblThread.Author_ID, <BR>tblAuthor.Username, LastThread.Message_date, LastThread.Author_ID, LastAuthor.Username, <BR>tblTopic.Event_date <BR>FROM tblTopic WITH (NOLOCK) , tblThread WITH (NOLOCK) , tblThread AS LastThread WITH (NOLOCK) , tblAuthor WITH (NOLOCK) , tblAuthor AS LastAuthor WITH (NOLOCK) <BR>WHERE ( tblThread.Author_ID = tblAuthor.Author_ID AND LastThread.Author_ID = LastAuthor.Author_ID AND tblTopic.Start_Thread_ID = tblThread.Thread_ID AND tblTopic.Last_Thread_ID = LastThread.Thread_ID AND (tblTopic.Priority = 3 OR tblTopic.Moved_ID = 2 OR tblTopic.Forum_ID = 2) ) AND (tblTopic.Hide = 0 ) <BR>ORDER BY tblTopic.Priority DESC, LastThread.Message_date DESC;',1, 1, @rows OUT<BR></FONT></SPAN></SPAN></DIV><DIV><SPAN name="r_text"><SPAN name="r_text"><FONT color=#ff0000>SELECT @handle, @rows</FONT></SPAN></SPAN></DIV><DIV><SPAN name="r_text"><SPAN name="r_text"><FONT color=#ff0000></FONT></SPAN></SPAN>&nbsp;</DIV><DIV><SPAN name="r_text"><SPAN name="r_text"><FONT color=#ff0000>Declare @rowid int,@rowcount int<BR>SET @rowid = 2000<BR>SET @rowcount = 20</FONT></SPAN></SPAN></DIV><DIV><SPAN name="r_text"><SPAN name="r_text"><FONT color=#ff0000></FONT></SPAN></SPAN>&nbsp;</DIV><DIV><SPAN name="r_text"><SPAN name="r_text"><FONT color=#ff0000>exec sp_cursorfetch @handle,16,@rowid,@rowcount</FONT></SPAN></SPAN></DIV><DIV><SPAN name="r_text"><SPAN name="r_text"><FONT color=#ff0000>------------------------------------------------------------------------------------------</FONT></SPAN></SPAN></DIV><DIV><SPAN name="r_text"><SPAN name="r_text"><FONT color=#ff0000></FONT></SPAN></SPAN>&nbsp;</DIV><DIV><SPAN name="r_text"><SPAN name="r_text"><SPAN id=r_text name="r_text">The necessary set of records stands out practically instantly and well works with a lot of records in the table.</SPAN> <IMG height=17 alt=Wink src="https://forums.webwiz.net/smileys/smiley2.gif" width=17 align=absMiddle border="0"></SPAN></SPAN></DIV><DIV><SPAN name="r_text"><SPAN name="r_text"><FONT color=#ff0000></FONT></SPAN></SPAN>&nbsp;</DIV><DIV><SPAN name="r_text"><SPAN name="r_text"><FONT color=#ff0000></FONT></SPAN></SPAN></SPAN>&nbsp;</DIV><span style="font-size:10px"><br /><br />Edited by Ritchie - 09&nbsp;March&nbsp;2006 at 7:06pm</span>]]>
   </description>
   <pubDate>Thu, 09 Mar 2006 18:58:46 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/8beta2-appreciable-decline-of-productivity_topic18571_post100983.html#100983</guid>
  </item> 
  <item>
   <title><![CDATA[8beta2 Appreciable decline of productivity : Thanks DeadMeat  ]]></title>
   <link>https://forums.webwiz.net/8beta2-appreciable-decline-of-productivity_topic18571_post100954.html#100954</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 18571<br /><strong>Posted:</strong> 09&nbsp;March&nbsp;2006 at 2:02pm<br /><br />Thanks DeadMeat]]>
   </description>
   <pubDate>Thu, 09 Mar 2006 14:02:58 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/8beta2-appreciable-decline-of-productivity_topic18571_post100954.html#100954</guid>
  </item> 
  <item>
   <title><![CDATA[8beta2 Appreciable decline of productivity : Hi Borg  Yeah I know wht you...]]></title>
   <link>https://forums.webwiz.net/8beta2-appreciable-decline-of-productivity_topic18571_post100950.html#100950</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=22914">DeadMeat</a><br /><strong>Subject:</strong> 18571<br /><strong>Posted:</strong> 09&nbsp;March&nbsp;2006 at 1:28pm<br /><br />Hi Borg<DIV>&nbsp;</DIV><DIV>Yeah I know wht you mean, you sometimes spend so much time working on something, that you can't see the wood for the trees. Sorry I was not able to find something, but not too worry, I will continue to look at it, and see during my travels whether I can find something that will make it perform better and improove performance.</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>DM</DIV>]]>
   </description>
   <pubDate>Thu, 09 Mar 2006 13:28:57 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/8beta2-appreciable-decline-of-productivity_topic18571_post100950.html#100950</guid>
  </item> 
 </channel>
</rss>