<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress Support Forums Tag: XDForum</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress Support Forums Tag: XDForum</description>
<language>en</language>
<pubDate>Sat, 10 Jan 2009 00:01:39 +0000</pubDate>

<item>
<title>sambauers on "Slow Queries - 300 second query times"</title>
<link>http://bbpress.org/forums/topic/slow-queries-300-second-query-times#post-19607</link>
<pubDate>Thu, 02 Oct 2008 22:52:08 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">19607@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I think that query is generated by the forum-last-poster plugin.&#60;/p&#62;
&#60;p&#62;If it is the one that is showing up over and over again, then get rid of it.
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Slow Queries - 300 second query times"</title>
<link>http://bbpress.org/forums/topic/slow-queries-300-second-query-times#post-19597</link>
<pubDate>Thu, 02 Oct 2008 01:41:10 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">19597@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;There have been some relevant discussions here:&#60;br /&#62;
&#60;a href=&#34;http://bbpress.org/forums/topic/bbpress-0901-gt-30-queries-per-page&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/forums/topic/bbpress-0901-gt-30-queries-per-page&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://bbpress.org/forums/topic/server-overload&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/forums/topic/server-overload&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://bbpress.org/forums/topic/fulltext-searching-very-slow&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/forums/topic/fulltext-searching-very-slow&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://bbpress.org/forums/topic/how-to-evaluate-server-speed&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/forums/topic/how-to-evaluate-server-speed&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Looking at the front page of your forum, I see a total of 3074 threads and 22,121 posts.  Is there more than meets the eye here to come up with 2.5 million rows of data?  Or maybe there's not 2.5 millions rows in bb_topics, it's just because of the subquery that it looks at that many records (like it's something I don't understand about the way MySQL displays the number or rows searched)?&#60;/p&#62;
&#60;p&#62;Did the amount of data grow exponentially after the conversion from xdforums?  Maybe there were 20K rows in xdforums, but something with the conversion didn't go well and it duplicated a bunch of data?  How many rows were there in comparable tables before and after conversion?&#60;/p&#62;
&#60;p&#62;Something doesn't add up.&#60;/p&#62;
&#60;p&#62;Also, are all those queries the same, and if so, is that query just trying to determine the last poster, from the &#34;Forum Last Poster&#34; plugin?  If so, have you tried just turning that plugin off?  If that works, then maybe just optimizing the query for your installation would work and you could turn it back on after modifying the plugin.&#60;/p&#62;
&#60;p&#62;Of all the plugins, the only other one I could see affecting the queries like that would be the Post Count Plus.  That would be the second one I turn off and check for a performance difference.
&#60;/p&#62;</description>
</item>
<item>
<title>clicknathan on "Slow Queries - 300 second query times"</title>
<link>http://bbpress.org/forums/topic/slow-queries-300-second-query-times#post-19594</link>
<pubDate>Wed, 01 Oct 2008 21:33:50 +0000</pubDate>
<dc:creator>clicknathan</dc:creator>
<guid isPermaLink="false">19594@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I've recently set up a BBPress forum for non-profit Bike Pittsburgh and their host, Pair Networks, shut down their database because of the load BBPress was putting on the server. Pair has since reinstated the db, but I was wondering if anyone could offer any insight as to how I might trim down the size of the queries that BBPress is putting through. A little background:&#60;/p&#62;
&#60;ol&#62;
&#60;li&#62;I used &#60;a href=&#34;http://fastpipe.com/2008/06/23/converting-xdforum-to-bbpress&#34;&#62;this method&#60;/a&#62; to convert a WordPress XDForum into BBPress. I know the author of that post mentions that the method he uses might not be the most efficient, however at this point (after the conversion), I wouldn't think that BBPress is using any of this info any more, correct?&#60;/li&#62;
&#60;li&#62;We're running BBPress v. 0.9.0.2&#60;/li&#62;
&#60;li&#62;We're using the following plugins: Akismet, Use Display Name, BBPress Private Messaging, Post Count Plus, Forum Last Poster, and Images Allowed&#60;/li&#62;
&#60;/ol&#62;
&#60;p&#62;The information from the host was this:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
With that said, we wanted to provide a follow up in terms of the nature of the problem itself. The problem is that the database is running some very inefficient queries, trying to sort through 2.5 million rows and are returning very few to no results. These queries take a long time to run and are called &#34;slow queries&#34;. As you gain in traffic, the more of these slow queries that are run, the higher the load on the server, and therefore the more affect you have on other customers.&#60;/p&#62;
&#60;p&#62;I've included some examples of these queries below for your review:&#60;/p&#62;
&#60;p&#62;# Time: 080930 20:55:01&#60;br /&#62;
# &#60;a href=&#34;mailto:User@Host:&#34;&#62;User@Host:&#60;/a&#62; bikepgh[bikepgh] @  [209.68.4.180]&#60;br /&#62;
# Query_time: 54  Lock_time: 0  Rows_sent: 10  Rows_examined: 2469001&#60;br /&#62;
SELECT forum_id, topic_id FROM bb_topics WHERE topic_last_post_id IN&#60;br /&#62;
(SELECT MAX&#60;br /&#62;
(topic_last_post_id) FROM bb_topics WHERE topic_status=0 GROUP BY&#60;br /&#62;
forum_id);&#60;br /&#62;
# Time: 080930 20:56:05&#60;br /&#62;
# &#60;a href=&#34;mailto:User@Host:&#34;&#62;User@Host:&#60;/a&#62; bikepgh[bikepgh] @  [209.68.4.180]&#60;br /&#62;
# Query_time: 71  Lock_time: 0  Rows_sent: 10  Rows_examined: 2469001&#60;br /&#62;
SELECT forum_id, topic_id FROM bb_topics WHERE topic_last_post_id IN&#60;br /&#62;
(SELECT MAX&#60;br /&#62;
(topic_last_post_id) FROM bb_topics WHERE topic_status=0 GROUP BY&#60;br /&#62;
forum_id);&#60;br /&#62;
# Time: 080930 20:56:43&#60;br /&#62;
# &#60;a href=&#34;mailto:User@Host:&#34;&#62;User@Host:&#60;/a&#62; bikepgh[bikepgh] @  [209.68.4.180]&#60;br /&#62;
# Query_time: 67  Lock_time: 0  Rows_sent: 10  Rows_examined: 2469001&#60;br /&#62;
SELECT forum_id, topic_id FROM bb_topics WHERE topic_last_post_id IN&#60;br /&#62;
(SELECT MAX&#60;br /&#62;
(topic_last_post_id) FROM bb_topics WHERE topic_status=0 GROUP BY&#60;br /&#62;
forum_id);&#60;br /&#62;
# Time: 080930 20:57:38&#60;br /&#62;
# &#60;a href=&#34;mailto:User@Host:&#34;&#62;User@Host:&#60;/a&#62; bikepgh[bikepgh] @  [209.68.4.180]&#60;br /&#62;
# Query_time: 52  Lock_time: 0  Rows_sent: 10  Rows_examined: 2469001&#60;br /&#62;
SELECT forum_id, topic_id FROM bb_topics WHERE topic_last_post_id IN&#60;br /&#62;
(SELECT MAX&#60;br /&#62;
(topic_last_post_id) FROM bb_topics WHERE topic_status=0 GROUP BY&#60;br /&#62;
forum_id);&#60;br /&#62;
# Time: 080930 21:20:46&#60;br /&#62;
# &#60;a href=&#34;mailto:User@Host:&#34;&#62;User@Host:&#60;/a&#62; bikepgh[bikepgh] @  [209.68.4.180]&#60;br /&#62;
# Query_time: 263  Lock_time: 0  Rows_sent: 10  Rows_examined: 2469001&#60;br /&#62;
SELECT forum_id, topic_id FROM bb_topics WHERE topic_last_post_id IN&#60;br /&#62;
(SELECT MAX&#60;br /&#62;
(topic_last_post_id) FROM bb_topics WHERE topic_status=0 GROUP BY&#60;br /&#62;
forum_id);&#60;br /&#62;
# Time: 080930 21:22:35&#60;br /&#62;
# &#60;a href=&#34;mailto:User@Host:&#34;&#62;User@Host:&#60;/a&#62; bikepgh[bikepgh] @  [209.68.4.180]&#60;br /&#62;
# Query_time: 281  Lock_time: 0  Rows_sent: 0  Rows_examined: 1952752&#60;br /&#62;
SELECT forum_id, topic_id FROM bb_topics WHERE topic_last_post_id IN&#60;br /&#62;
(SELECT MAX&#60;br /&#62;
(topic_last_post_id) FROM bb_topics WHERE topic_status=0 GROUP BY&#60;br /&#62;
forum_id);&#60;/p&#62;
&#60;p&#62;As you can see, these queries are taking almost 300 seconds to complete&#60;br /&#62;
(query_time). This is an extremely high time, as a query on a shared server&#60;br /&#62;
should take under 10 seconds to complete.&#60;/p&#62;
&#60;p&#62;I hope this helps provide some needed details for you. If we can be of any&#60;br /&#62;
further assistance, please do not hesitate to ask.&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;Any help as to what I might do in PHPMyAdmin or otherwise to help lower the load on the db would be VERY MUCH appreciated!
&#60;/p&#62;</description>
</item>
<item>
<title>fastpipe on "Converting XDForum to BBPress"</title>
<link>http://bbpress.org/forums/topic/converting-xdforum-to-bbpress#post-17440</link>
<pubDate>Sat, 19 Jul 2008 16:10:37 +0000</pubDate>
<dc:creator>fastpipe</dc:creator>
<guid isPermaLink="false">17440@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;No problem. I like to keep Wordpress up to date and the XDForum plug-in was holding me back.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Converting XDForum to BBPress"</title>
<link>http://bbpress.org/forums/topic/converting-xdforum-to-bbpress#post-17437</link>
<pubDate>Sat, 19 Jul 2008 15:42:49 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">17437@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thanks for sharing this!
&#60;/p&#62;</description>
</item>
<item>
<title>fastpipe on "Converting XDForum to BBPress"</title>
<link>http://bbpress.org/forums/topic/converting-xdforum-to-bbpress#post-16873</link>
<pubDate>Mon, 23 Jun 2008 16:48:26 +0000</pubDate>
<dc:creator>fastpipe</dc:creator>
<guid isPermaLink="false">16873@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;XDForum, another Wordpress forum plug-in, stopped development a few months ago.&#60;/p&#62;
&#60;p&#62;For anyone considering converting their XDForum to BBPress, I've posted detailed instructions for &#60;a href=&#34;http://www.fastpipe.com/2008/06/23/converting-xdforum-to-bbpress&#34;&#62;converting XDForum tables to BBPress tables&#60;/a&#62; on my site. The instructions include a method for tagging your existing content.&#60;/p&#62;
&#60;p&#62;I looked for something like this a few months ago and couldn't find it. Hopefully, someone will find this useful. The result of the conversion can be viewed &#60;a href=&#34;http://www.hdtvok.com/forums/&#34;&#62;here&#60;/a&#62;...
&#60;/p&#62;</description>
</item>

</channel>
</rss>
