<?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 : WebWizForums 8 DB is not optimized</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 : WebWizForums 8 DB is not optimized]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 06 Apr 2026 19:09:24 +0000</pubDate>
  <lastBuildDate>Mon, 17 Sep 2007 10:07:47 +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=24408</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[WebWizForums 8 DB is not optimized :     moti wrote: I think SQL...]]></title>
   <link>https://forums.webwiz.net/webwizforums-8-db-is-not-optimized_topic24408_post127678.html#127678</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 24408<br /><strong>Posted:</strong> 17&nbsp;September&nbsp;2007 at 10:07am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by moti" alt="Originally posted by moti" style="vertical-align: text-bottom;" /> <strong>moti wrote:</strong><br /><br /><div> I think SQL 2005 doesn't say crap.</div></td></tr></table><br><br>You've got to be joking!<br><br>If you believe that it will help then give it ago, if it doesn't work make a note of the changes and just remove them at a later stage.<br><span style="font-size:10px"><br /><br />Edited by -boRg- - 17&nbsp;September&nbsp;2007 at 10:07am</span>]]>
   </description>
   <pubDate>Mon, 17 Sep 2007 10:07:47 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/webwizforums-8-db-is-not-optimized_topic24408_post127678.html#127678</guid>
  </item> 
  <item>
   <title><![CDATA[WebWizForums 8 DB is not optimized : Thanks for the reply but the...]]></title>
   <link>https://forums.webwiz.net/webwizforums-8-db-is-not-optimized_topic24408_post127635.html#127635</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=17435">moti</a><br /><strong>Subject:</strong> 24408<br /><strong>Posted:</strong> 15&nbsp;September&nbsp;2007 at 9:15am<br /><br />Thanks for the reply<DIV>but the main problem is that I test forum in a special situation , I test forum application with one of the best Web Applcation Stress test, with 800 users online for 10 min , each of these users click on a link in forum every 5 sec , and on the server I ran SQL Profiler and record all of the queries within this 10 min test, then saved them to a sql file , and load that in Database Engine Tuning Advisor&nbsp; , then this programm told me above results (in my first post) , I think SQL 2005 doesn't say crap.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 15 Sep 2007 09:15:33 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/webwizforums-8-db-is-not-optimized_topic24408_post127635.html#127635</guid>
  </item> 
  <item>
   <title><![CDATA[WebWizForums 8 DB is not optimized : Web Wiz Forums already has indexes...]]></title>
   <link>https://forums.webwiz.net/webwizforums-8-db-is-not-optimized_topic24408_post127603.html#127603</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 24408<br /><strong>Posted:</strong> 14&nbsp;September&nbsp;2007 at 9:34am<br /><br />Web Wiz Forums already has indexes that it needs and is optimised for the most common quiries, creating to many indexes can be worse than not having any at all. Running the optimiser for 2 minutes won't give you a clear picture as forums are quite complex with many different types of queries run on the database, optimising it for all the queries run would in turn slow down the overall performance and increase CPU usage.<br><br>I can't see how the CPU usage could be getting to 63% as we have over 200 Web Wiz Forums running on our database server and many with over 100 active users at all times and have never seen the CPU usage go above 5%, and thats running 200 forums!!<br>]]>
   </description>
   <pubDate>Fri, 14 Sep 2007 09:34:54 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/webwizforums-8-db-is-not-optimized_topic24408_post127603.html#127603</guid>
  </item> 
  <item>
   <title><![CDATA[WebWizForums 8 DB is not optimized : Yesterday , the hosting company...]]></title>
   <link>https://forums.webwiz.net/webwizforums-8-db-is-not-optimized_topic24408_post127595.html#127595</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=17435">moti</a><br /><strong>Subject:</strong> 24408<br /><strong>Posted:</strong> 14&nbsp;September&nbsp;2007 at 2:09am<br /><br /><P>Yesterday , the hosting company which I hosted my forum on their servers , called me that your site is using too much CPU processes, I didn't beleive that , but they sent me screen shot of task manager and my user process was 62% ,</P><DIV>They told me you have to Optimize your database, my db size is 230 MB , </DIV><DIV>One of my friends told me maybe its because of Incorrect Indexing , he told me you have to tune your Indexes,</DIV><DIV>I just test that with SQL 2005 by using <EM><strong>Database Engine Tuning Advisor</strong></EM>&nbsp;&nbsp;&nbsp;after configuring the program after about 2 min it shows me that after tuning and creating indexes which recommended by the software it will be 63% improved in performance , I didn't create new indexes on the hosting server yet but I just create them on my own computer database it seems its ok</DIV><DIV>&nbsp;</DIV><DIV>here is the indexes scripts which is created by SQL 2005 <strong><EM>Database Engine Tuning Advisor</EM></strong></DIV><DIV><strong><EM></EM></strong>&nbsp;</DIV><DIV><strong><EM>---</EM></strong></DIV><DIV><strong><EM></EM></strong>&nbsp;</DIV><DIV><strong><EM></EM></strong>&nbsp;</DIV><DIV>&#091;code&#093;</DIV><DIV>use &#091;WebWizDB&#093;<BR>go</DIV><DIV>CREATE CLUSTERED INDEX &#091;_dta_index_tblPermissions_c_5_677577452__K15_K3_K1_K2&#093; ON &#091;dbo&#093;.&#091;tblPermissions&#093; <BR>(<BR>&nbsp;&#091;View_Forum&#093; ASC,<BR>&nbsp;&#091;Forum_ID&#093; ASC,<BR>&nbsp;&#091;Group_ID&#093; ASC,<BR>&nbsp;&#091;Author_ID&#093; ASC<BR>)WITH (SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF) ON &#091;PRIMARY&#093;<BR>go</DIV><DIV>CREATE NONCLUSTERED INDEX &#091;_dta_index_tblPermissions_5_677577452__K14_K1_K2&#093; ON &#091;dbo&#093;.&#091;tblPermissions&#093; <BR>(<BR>&nbsp;&#091;Moderate&#093; ASC,<BR>&nbsp;&#091;Group_ID&#093; ASC,<BR>&nbsp;&#091;Author_ID&#093; ASC<BR>)WITH (SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF) ON &#091;PRIMARY&#093;<BR>go</DIV><DIV>CREATE NONCLUSTERED INDEX &#091;_dta_index_tblPermissions_5_677577452__K1_K15_K3&#093; ON &#091;dbo&#093;.&#091;tblPermissions&#093; <BR>(<BR>&nbsp;&#091;Group_ID&#093; ASC,<BR>&nbsp;&#091;View_Forum&#093; ASC,<BR>&nbsp;&#091;Forum_ID&#093; ASC<BR>)WITH (SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF) ON &#091;PRIMARY&#093;<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_677577452_3_1&#093; ON &#091;dbo&#093;.&#091;tblPermissions&#093;(&#091;Forum_ID&#093;, &#091;Group_ID&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_677577452_3_2&#093; ON &#091;dbo&#093;.&#091;tblPermissions&#093;(&#091;Forum_ID&#093;, &#091;Author_ID&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_677577452_1_14&#093; ON &#091;dbo&#093;.&#091;tblPermissions&#093;(&#091;Group_ID&#093;, &#091;Moderate&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_677577452_15_3&#093; ON &#091;dbo&#093;.&#091;tblPermissions&#093;(&#091;View_Forum&#093;, &#091;Forum_ID&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_677577452_2_1_3&#093; ON &#091;dbo&#093;.&#091;tblPermissions&#093;(&#091;Author_ID&#093;, &#091;Group_ID&#093;, &#091;Forum_ID&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_677577452_2_1_14&#093; ON &#091;dbo&#093;.&#091;tblPermissions&#093;(&#091;Author_ID&#093;, &#091;Group_ID&#093;, &#091;Moderate&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_677577452_2_1_15_3&#093; ON &#091;dbo&#093;.&#091;tblPermissions&#093;(&#091;Author_ID&#093;, &#091;Group_ID&#093;, &#091;View_Forum&#093;, &#091;Forum_ID&#093;)<BR>go</DIV><DIV>CREATE NONCLUSTERED INDEX &#091;_dta_index_tblAuthor_5_149575571__K2_K3_1_21_22_23_26&#093; ON &#091;dbo&#093;.&#091;tblAuthor&#093; <BR>(<BR>&nbsp;&#091;Group_ID&#093; ASC,<BR>&nbsp;&#091;Username&#093; ASC<BR>)<BR>INCLUDE ( &#091;Author_ID&#093;,<BR>&#091;No_of_posts&#093;,<BR>&#091;Join_date&#093;,<BR>&#091;Active&#093;,<BR>&#091;Last_visit&#093;) WITH (SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF) ON &#091;PRIMARY&#093;<BR>go</DIV><DIV>CREATE NONCLUSTERED INDEX &#091;_dta_index_tblAuthor_5_149575571__K1_3_18&#093; ON &#091;dbo&#093;.&#091;tblAuthor&#093; <BR>(<BR>&nbsp;&#091;Author_ID&#093; ASC<BR>)<BR>INCLUDE ( &#091;Username&#093;,<BR>&#091;DOB&#093;) WITH (SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF) ON &#091;PRIMARY&#093;<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_149575571_1_2&#093; ON &#091;dbo&#093;.&#091;tblAuthor&#093;(&#091;Author_ID&#093;, &#091;Group_ID&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_149575571_5_1&#093; ON &#091;dbo&#093;.&#091;tblAuthor&#093;(&#091;User_code&#093;, &#091;Author_ID&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_149575571_5_33_1&#093; ON &#091;dbo&#093;.&#091;tblAuthor&#093;(&#091;User_code&#093;, &#091;skin&#093;, &#091;Author_ID&#093;)<BR>go</DIV><DIV>CREATE NONCLUSTERED INDEX &#091;_dta_index_tblTopic_5_2121058592__K16_K2_K12_1_5&#093; ON &#091;dbo&#093;.&#091;tblTopic&#093; <BR>(<BR>&nbsp;&#091;Event_date&#093; ASC,<BR>&nbsp;&#091;Forum_ID&#093; ASC,<BR>&nbsp;&#091;Start_Thread_ID&#093; ASC<BR>)<BR>INCLUDE ( &#091;Topic_ID&#093;,<BR>&#091;Subject&#093;) WITH (SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF) ON &#091;PRIMARY&#093;<BR>go</DIV><DIV>CREATE NONCLUSTERED INDEX &#091;_dta_index_tblTopic_5_2121058592__K13_K1_K2_K15_5&#093; ON &#091;dbo&#093;.&#091;tblTopic&#093; <BR>(<BR>&nbsp;&#091;Last_Thread_ID&#093; ASC,<BR>&nbsp;&#091;Topic_ID&#093; ASC,<BR>&nbsp;&#091;Forum_ID&#093; ASC,<BR>&nbsp;&#091;Hide&#093; ASC<BR>)<BR>INCLUDE ( &#091;Subject&#093;) WITH (SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF) ON &#091;PRIMARY&#093;<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_2121058592_9&#093; ON &#091;dbo&#093;.&#091;tblTopic&#093;(&#091;Locked&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_2121058592_2_10&#093; ON &#091;dbo&#093;.&#091;tblTopic&#093;(&#091;Forum_ID&#093;, &#091;Priority&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_2121058592_2_16&#093; ON &#091;dbo&#093;.&#091;tblTopic&#093;(&#091;Forum_ID&#093;, &#091;Event_date&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_2121058592_15_13&#093; ON &#091;dbo&#093;.&#091;tblTopic&#093;(&#091;Hide&#093;, &#091;Last_Thread_ID&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_2121058592_1_2&#093; ON &#091;dbo&#093;.&#091;tblTopic&#093;(&#091;Topic_ID&#093;, &#091;Forum_ID&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_2121058592_15_2_1&#093; ON &#091;dbo&#093;.&#091;tblTopic&#093;(&#091;Hide&#093;, &#091;Forum_ID&#093;, &#091;Topic_ID&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_2121058592_12_1_2&#093; ON &#091;dbo&#093;.&#091;tblTopic&#093;(&#091;Start_Thread_ID&#093;, &#091;Topic_ID&#093;, &#091;Forum_ID&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_2121058592_2_12_16&#093; ON &#091;dbo&#093;.&#091;tblTopic&#093;(&#091;Forum_ID&#093;, &#091;Start_Thread_ID&#093;, &#091;Event_date&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_2121058592_13_12_15&#093; ON &#091;dbo&#093;.&#091;tblTopic&#093;(&#091;Last_Thread_ID&#093;, &#091;Start_Thread_ID&#093;, &#091;Hide&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_2121058592_12_13_4&#093; ON &#091;dbo&#093;.&#091;tblTopic&#093;(&#091;Start_Thread_ID&#093;, &#091;Last_Thread_ID&#093;, &#091;Moved_ID&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_2121058592_10_13_4_2&#093; ON &#091;dbo&#093;.&#091;tblTopic&#093;(&#091;Priority&#093;, &#091;Last_Thread_ID&#093;, &#091;Moved_ID&#093;, &#091;Forum_ID&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_2121058592_13_12_1_15&#093; ON &#091;dbo&#093;.&#091;tblTopic&#093;(&#091;Last_Thread_ID&#093;, &#091;Start_Thread_ID&#093;, &#091;Topic_ID&#093;, &#091;Hide&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_2121058592_15_2_13_12&#093; ON &#091;dbo&#093;.&#091;tblTopic&#093;(&#091;Hide&#093;, &#091;Forum_ID&#093;, &#091;Last_Thread_ID&#093;, &#091;Start_Thread_ID&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_2121058592_12_13_10_4&#093; ON &#091;dbo&#093;.&#091;tblTopic&#093;(&#091;Start_Thread_ID&#093;, &#091;Last_Thread_ID&#093;, &#091;Priority&#093;, &#091;Moved_ID&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_2121058592_10_4_2_12_13&#093; ON &#091;dbo&#093;.&#091;tblTopic&#093;(&#091;Priority&#093;, &#091;Moved_ID&#093;, &#091;Forum_ID&#093;, &#091;Start_Thread_ID&#093;, &#091;Last_Thread_ID&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_2121058592_2_13_12_1_15&#093; ON &#091;dbo&#093;.&#091;tblTopic&#093;(&#091;Forum_ID&#093;, &#091;Last_Thread_ID&#093;, &#091;Start_Thread_ID&#093;, &#091;Topic_ID&#093;, &#091;Hide&#093;)<BR>go</DIV><DIV>CREATE NONCLUSTERED INDEX &#091;_dta_index_tblThanks_5_1310627712__K2&#093; ON &#091;dbo&#093;.&#091;tblThanks&#093; <BR>(<BR>&nbsp;&#091;Thread_ID&#093; ASC<BR>)WITH (SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF) ON &#091;PRIMARY&#093;<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_1310627712_3_2&#093; ON &#091;dbo&#093;.&#091;tblThanks&#093;(&#091;From_ID&#093;, &#091;Thread_ID&#093;)<BR>go</DIV><DIV>CREATE NONCLUSTERED INDEX &#091;_dta_index_tblThread_5_85575343__K3_K1_K2&#093; ON &#091;dbo&#093;.&#091;tblThread&#093; <BR>(<BR>&nbsp;&#091;Author_ID&#093; ASC,<BR>&nbsp;&#091;Thread_ID&#093; ASC,<BR>&nbsp;&#091;Topic_ID&#093; ASC<BR>)WITH (SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF) ON &#091;PRIMARY&#093;<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_85575343_3_2&#093; ON &#091;dbo&#093;.&#091;tblThread&#093;(&#091;Author_ID&#093;, &#091;Topic_ID&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_85575343_5_2&#093; ON &#091;dbo&#093;.&#091;tblThread&#093;(&#091;Message_date&#093;, &#091;Topic_ID&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_85575343_5_1&#093; ON &#091;dbo&#093;.&#091;tblThread&#093;(&#091;Message_date&#093;, &#091;Thread_ID&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_85575343_3_5&#093; ON &#091;dbo&#093;.&#091;tblThread&#093;(&#091;Author_ID&#093;, &#091;Message_date&#093;)<BR>go</DIV><DIV>CREATE STATISTICS &#091;_dta_stat_85575343_2_3_5&#093; ON &#091;dbo&#093;.&#091;tblThread&#093;(&#091;Topic_ID&#093;, &#091;Author_ID&#093;, &#091;Message_date&#093;)<BR>go]]>
   </description>
   <pubDate>Fri, 14 Sep 2007 02:09:28 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/webwizforums-8-db-is-not-optimized_topic24408_post127595.html#127595</guid>
  </item> 
 </channel>
</rss>