<?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: mysql</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Tag: mysql</description>
<language>en</language>
<pubDate>Tue, 02 Dec 2008 21:53:22 +0000</pubDate>

<item>
<title>_ck_ on "Too many homepage queries"</title>
<link>http://bbpress.org/forums/topic/too-many-homepage-queries#post-18611</link>
<pubDate>Sun, 24 Aug 2008 10:15:15 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">18611@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Everyone put this in your &#60;code&#62;bb-config.php&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;$bb-&#38;gt;load_options = true;&#60;/code&#62;&#60;br /&#62;
and that number will go down radically.&#60;/p&#62;
&#60;p&#62;For some reason I don't understand they refuse to make that the default and therefore bbPress just &#34;lazy loads&#34; each option as each plugin requests it.&#60;/p&#62;
&#60;p&#62;If you are using the 1.0 alpha they still have a bit of work to do with query reduction as they rewrote half the routines and storage layout but left it unoptimized. For example each forum on the front page is loaded as a separate query and then the meta for each forum is loaded as a separate query. It's a bit crazy because if you have a dozen forums that's 24 queries but I have high hopes Sam or MDA will tackle that soon and do it all in just two queries.&#60;/p&#62;
&#60;p&#62;Last but not least there is a serious optimization problem IMHO in all versions where bbPress will &#34;read before write&#34; every time a meta option is saved, regardless if it's just been loaded and sitting in the object cache. I have to put a bit of extra code in all my plugins to work around this issue. The reason why they do that is to determine if they should do an INSERT vs an UPDATE because you can have duplicate keys on meta data by design and mysql can't be told what to do if the key already exists. But there are better ways to do that - since 99.99% of the time it's going to be an update since the data already exists - do an update and just check for a mysql error on the return (or count rows affected) - then do an insert instead that one time it's needed.
&#60;/p&#62;</description>
</item>
<item>
<title>fel64 on "Too many homepage queries"</title>
<link>http://bbpress.org/forums/topic/too-many-homepage-queries#post-18585</link>
<pubDate>Sat, 23 Aug 2008 10:22:19 +0000</pubDate>
<dc:creator>fel64</dc:creator>
<guid isPermaLink="false">18585@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;This query diagnostics plugin will tell you something. It could be ck's originally. &#60;a href=&#34;http://pastebin.ca/1182319&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.ca/1182319&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Thion on "Too many homepage queries"</title>
<link>http://bbpress.org/forums/topic/too-many-homepage-queries#post-18575</link>
<pubDate>Fri, 22 Aug 2008 19:51:25 +0000</pubDate>
<dc:creator>Thion</dc:creator>
<guid isPermaLink="false">18575@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;155?! Whoh, and I'm worried about 18 queries in my still-in-development plugin :).&#60;/p&#62;
&#60;p&#62;It would be much easier to say anything if there would be any link...
&#60;/p&#62;</description>
</item>
<item>
<title>Phayze on "Too many homepage queries"</title>
<link>http://bbpress.org/forums/topic/too-many-homepage-queries#post-18554</link>
<pubDate>Fri, 22 Aug 2008 09:08:12 +0000</pubDate>
<dc:creator>Phayze</dc:creator>
<guid isPermaLink="false">18554@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;OK - I think that was the first query before caching had taken effect, because I reloaded the page and got:&#60;/p&#62;
&#60;p&#62;0.126 - 33 queries&#60;/p&#62;
&#60;p&#62;Any ideas why the drastic reduction?
&#60;/p&#62;</description>
</item>
<item>
<title>Phayze on "Too many homepage queries"</title>
<link>http://bbpress.org/forums/topic/too-many-homepage-queries#post-18552</link>
<pubDate>Fri, 22 Aug 2008 08:49:21 +0000</pubDate>
<dc:creator>Phayze</dc:creator>
<guid isPermaLink="false">18552@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I'm pretty sure that there are too many queries running on my homepage:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
If you like showing off the fact that your server rocks,&#60;br /&#62;
1.463 - 155 queries
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;What are the common things that increase the number of queries, and how can I reduce that number - I'm pretty sure it's killing MySQL on my server when it gets overloaded.&#60;/p&#62;
&#60;p&#62;Thanks,
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Installation problem with bbPress"</title>
<link>http://bbpress.org/forums/topic/installation-problem-with-bbpress#post-18118</link>
<pubDate>Sun, 10 Aug 2008 17:06:52 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">18118@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;OK, please let us know if you need more help.
&#60;/p&#62;</description>
</item>
<item>
<title>MartinOShea on "Installation problem with bbPress"</title>
<link>http://bbpress.org/forums/topic/installation-problem-with-bbpress#post-18110</link>
<pubDate>Sun, 10 Aug 2008 12:35:27 +0000</pubDate>
<dc:creator>MartinOShea</dc:creator>
<guid isPermaLink="false">18110@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thanks chrishajer.&#60;/p&#62;
&#60;p&#62;That seems to have done the job and bbPress is now installed. But I do find that I am denied access to certain pages. I will see how this proceeds.
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Installation problem with bbPress"</title>
<link>http://bbpress.org/forums/topic/installation-problem-with-bbpress#post-18092</link>
<pubDate>Sat, 09 Aug 2008 18:17:57 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">18092@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;How about the php_mysql.dll, not just php_mysql&#60;strong&#62;i&#60;/strong&#62;.dll?  It seems to be saying it's missing the mysql extension but you've posted only that you have enabled mysqli.&#60;/p&#62;
&#60;p&#62;Also, be sure to restart the web server after making a configuration change.
&#60;/p&#62;</description>
</item>
<item>
<title>MartinOShea on "Installation problem with bbPress"</title>
<link>http://bbpress.org/forums/topic/installation-problem-with-bbpress#post-18084</link>
<pubDate>Sat, 09 Aug 2008 13:09:30 +0000</pubDate>
<dc:creator>MartinOShea</dc:creator>
<guid isPermaLink="false">18084@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hello&#60;/p&#62;
&#60;p&#62;I'm trying to install bbPress but every time I try am greeted by the message 'Your PHP installation appears to be missing the specified MySQL extension (mysql) which is required for bbPress.'&#60;/p&#62;
&#60;p&#62;I am using Windows XP Pro SP2 and have PHP 5.2.44 and MySQL 5.o installed . Both these applications work in isolation of each other and I have tried to install the MySQL extensions for PHP.&#60;/p&#62;
&#60;p&#62;To give more detail; I have file php_mysqli.dll (version 5.2.1.1) in the folder C:\Program Files\Ext, file libmysql.dll is in C:\Program Files\MySQL\MySQL Server 5.0\bin and this included in the Windows PATH.&#60;/p&#62;
&#60;p&#62;I also have extension=php_mysqli.dll defined in section [MySQLi] of file C:\Program Files\php.ini.&#60;/p&#62;
&#60;p&#62;Can you advise where my PC's configuration is wrong, or if I need to carry out additional steps, because I would like to evaluate bbPress for use in a Java application I'm writing?&#60;/p&#62;
&#60;p&#62;Thanks&#60;/p&#62;
&#60;p&#62;Martin O'Shea.
&#60;/p&#62;</description>
</item>
<item>
<title>bramruiter on "bbPress Database Error"</title>
<link>http://bbpress.org/forums/topic/bbpress-database-error-1#post-16797</link>
<pubDate>Wed, 18 Jun 2008 12:15:17 +0000</pubDate>
<dc:creator>bramruiter</dc:creator>
<guid isPermaLink="false">16797@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;It indeed was aMySQL issue. It's been solved now.
&#60;/p&#62;</description>
</item>
<item>
<title>bramruiter on "bbPress Database Error"</title>
<link>http://bbpress.org/forums/topic/bbpress-database-error-1#post-16794</link>
<pubDate>Wed, 18 Jun 2008 10:12:49 +0000</pubDate>
<dc:creator>bramruiter</dc:creator>
<guid isPermaLink="false">16794@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Ah, I thought it was something like that. I've just ordered a new hosting, which works on MySQL 5.&#60;/p&#62;
&#60;p&#62;Thanks for the help.
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "bbPress Database Error"</title>
<link>http://bbpress.org/forums/topic/bbpress-database-error-1#post-16762</link>
<pubDate>Sat, 14 Jun 2008 18:13:48 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">16762@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;bbPress requires MySQL 4.0 minimum.  I think 3.23 is too low:&#60;br /&#62;
&#60;a href=&#34;http://bbpress.org/about/requirements/&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/about/requirements/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>bramruiter on "bbPress Database Error"</title>
<link>http://bbpress.org/forums/topic/bbpress-database-error-1#post-16759</link>
<pubDate>Sat, 14 Jun 2008 10:13:23 +0000</pubDate>
<dc:creator>bramruiter</dc:creator>
<guid isPermaLink="false">16759@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Sorry, I don't check this forum daily, so here's a late answer:&#60;/p&#62;
&#60;p&#62;1. From what I know, it has always been like this. It's only when I perform a search.&#60;/p&#62;
&#60;p&#62;2. The version is bbPress 0.9.0.2  and it was installed somewhere between june 26 and june 31.&#60;/p&#62;
&#60;p&#62;3. I didn't. I only screwed around with the template files.&#60;/p&#62;
&#60;p&#62;4. No, they did no update or change whatsoever.&#60;/p&#62;
&#60;p&#62;5. Like I said, it was there before the plug-ins, but here's the list.&#60;br /&#62;
Private Forums, BBPress Private Messaging (not working), Post Count Plus - Dynamic.Titles &#38;#38; More!, Akismet, Avatar, Last-Post, Limit Latest Discussion, Bozo Users, BBcode Lite, Move It, Quote, Simple Onlinelist, Allow Images, Human Test for bbPress &#38;#38; Front Page Topics.&#60;/p&#62;
&#60;p&#62;6. The second error appears only when someone perform a search. The first error is only noted in the admin area, in the first tab, beneath 'User Registrations'.&#60;/p&#62;
&#60;p&#62;7. Yes. It does happen.&#60;/p&#62;
&#60;p&#62;The MySQL version is 3.23.58.&#60;/p&#62;
&#60;p&#62;I'm not a big guy when it comes to coding/scripting, so I have no idea what these errors mean. I'm glad somebody wants to help.
&#60;/p&#62;</description>
</item>
<item>
<title>bobbyh on "bbPress Database Error"</title>
<link>http://bbpress.org/forums/topic/bbpress-database-error-1#post-16671</link>
<pubDate>Mon, 09 Jun 2008 19:32:12 +0000</pubDate>
<dc:creator>bobbyh</dc:creator>
<guid isPermaLink="false">16671@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Check your mysql version number. Is it really low?
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "bbPress Database Error"</title>
<link>http://bbpress.org/forums/topic/bbpress-database-error-1#post-16667</link>
<pubDate>Mon, 09 Jun 2008 15:52:37 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">16667@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Interestingly, I copied and pasted your SQL query from above, and used it on my installation unchanged, and it did not error out, it just return the expected results.&#60;/p&#62;
&#60;p&#62;&#60;code&#62;SELECT t.*, MIN(p.post_id) as post_id, p.post_text, 0 AS search_score FROM bb_topics AS t JOIN bb_posts as p ON ( t.topic_id = p.topic_id ) WHERE t.topic_status = &#38;#39;0&#38;#39; AND p.post_status = &#38;#39;0&#38;#39; AND ( (t.topic_title LIKE &#38;#39;%ja%&#38;#39;) OR p.post_text LIKE &#38;#39;%ja%&#38;#39; ) GROUP BY t.topic_id ORDER BY t.topic_time DESC LIMIT 20&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;See the results &#60;a href=&#34;http://www.chrishajer.com/bbpress/sqlerror.png&#34; title=&#34;no SQL error here&#34;&#62;here&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;This is an old bbPress installation as well, 1.0-alpha from over a year ago.
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "bbPress Database Error"</title>
<link>http://bbpress.org/forums/topic/bbpress-database-error-1#post-16666</link>
<pubDate>Mon, 09 Jun 2008 15:25:17 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">16666@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;1.  Has this installation always been like this, or did something change recently?&#60;/p&#62;
&#60;p&#62;2.  What version are you running and when was it installed?&#60;/p&#62;
&#60;p&#62;3.  Did you change hosting or make any other changes to the installation?&#60;/p&#62;
&#60;p&#62;4.  Did your host upgrade PHP or MySQL or your .htaccess file or something else that would have affected this?&#60;/p&#62;
&#60;p&#62;5.  What plugins are installed, and does disabling them help with the error?&#60;/p&#62;
&#60;p&#62;6.  Does the problem described in the first post happen only when searching, or is that from something else and you now have the problem described in the last post as well?&#60;/p&#62;
&#60;p&#62;7.  Does the problem happen when using the stock theme?&#60;/p&#62;
&#60;p&#62;You don't have a normal run-of-mill type problem that can be  easily and simply solved, so people are going to need more info to help.
&#60;/p&#62;</description>
</item>
<item>
<title>bramruiter on "bbPress Database Error"</title>
<link>http://bbpress.org/forums/topic/bbpress-database-error-1#post-16663</link>
<pubDate>Mon, 09 Jun 2008 13:48:29 +0000</pubDate>
<dc:creator>bramruiter</dc:creator>
<guid isPermaLink="false">16663@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;The problem got a bit bigger. When someone tries to find something through the search they get:&#60;/p&#62;
&#60;p&#62;bbPress database error: [You have an error in your SQL syntax near 'ON ( t.topic_id = p.topic_id ) WHERE p.post_text LIKE '%ja%' AND p.post_status =' at line 1]&#60;br /&#62;
SELECT p.*, 0 AS search_score, MAX(post_time) AS post_time FROM bb_posts AS p JOIN bb_topics as t ON ( t.topic_id = p.topic_id ) WHERE p.post_text LIKE '%ja%' AND p.post_status = '0' AND t.topic_status = '0' GROUP BY t.topic_id ORDER BY p.post_time DESC LIMIT 5&#60;/p&#62;
&#60;p&#62;bbPress database error: [You have an error in your SQL syntax near 'ON ( t.topic_id = p.topic_id ) WHERE t.topic_status = '0' AND p.post_status = '0' at line 1]&#60;br /&#62;
SELECT t.*, MIN(p.post_id) as post_id, p.post_text, 0 AS search_score FROM bb_topics AS t JOIN bb_posts as p ON ( t.topic_id = p.topic_id ) WHERE t.topic_status = '0' AND p.post_status = '0' AND ( (t.topic_title LIKE '%ja%') OR p.post_text LIKE '%ja%' ) GROUP BY t.topic_id ORDER BY t.topic_time DESC LIMIT 20
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "bbPress Database Error"</title>
<link>http://bbpress.org/forums/topic/bbpress-database-error-1#post-16659</link>
<pubDate>Sun, 08 Jun 2008 22:28:49 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">16659@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;What do you have to do to get that error to show up?  Installation, view profile, post a new topic, post a reply, add a tag, etc...
&#60;/p&#62;</description>
</item>
<item>
<title>bramruiter on "bbPress Database Error"</title>
<link>http://bbpress.org/forums/topic/bbpress-database-error-1#post-16657</link>
<pubDate>Sun, 08 Jun 2008 17:39:52 +0000</pubDate>
<dc:creator>bramruiter</dc:creator>
<guid isPermaLink="false">16657@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;bbPress database error: [You have an error in your SQL syntax near 'ON ( t.topic_id = p.topic_id ) WHERE p.post_status != '0' AND t.topic_status = '' at line 1]&#60;br /&#62;
SELECT p.* FROM bb_posts AS p JOIN bb_topics as t ON ( t.topic_id = p.topic_id ) WHERE p.post_status != '0' AND t.topic_status = '0' ORDER BY p.post_time DESC LIMIT 5&#60;/p&#62;
&#60;p&#62;What does it mean?
&#60;/p&#62;</description>
</item>
<item>
<title>motaboy21 on "i cannot use "´" on my posts"</title>
<link>http://bbpress.org/forums/topic/i-cannot-use-%c2%b4-on-my-posts#post-16612</link>
<pubDate>Wed, 04 Jun 2008 20:57:00 +0000</pubDate>
<dc:creator>motaboy21</dc:creator>
<guid isPermaLink="false">16612@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;well, when im writing a post and i write something like &#34;it´s&#34; i have an error of SQL (or Mysql) that says there was a problem with this character &#34;´&#34;&#60;/p&#62;
&#60;p&#62;try it hentaitube.org &#60;/p&#62;
&#60;p&#62;help please
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "There was a problem connecting to the database you specified.Please check the s"</title>
<link>http://bbpress.org/forums/topic/there-was-a-problem-connecting-to-the-database-you-specifiedplease-check-the-s#post-15890</link>
<pubDate>Wed, 30 Apr 2008 13:21:34 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">15890@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;That is telling you the database connection details are incorrect.  You need to check all four of them again.  It's possible you need to specify a host name in place of localhost (the thing they say there is a 99% chance you won't need to change.)  Since my database is on a different server, I need to change that 100% of the time.&#60;/p&#62;
&#60;p&#62;Only you will be able to verify that your connection details are correct.  Right now, they are not and that's what the message is telling you.
&#60;/p&#62;</description>
</item>
<item>
<title>rhodzr on "There was a problem connecting to the database you specified.Please check the s"</title>
<link>http://bbpress.org/forums/topic/there-was-a-problem-connecting-to-the-database-you-specifiedplease-check-the-s#post-15877</link>
<pubDate>Wed, 30 Apr 2008 04:22:46 +0000</pubDate>
<dc:creator>rhodzr</dc:creator>
<guid isPermaLink="false">15877@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;!!There was a problem connecting to the database you specified.&#60;br /&#62;
Please check the settings, then try again.&#60;/p&#62;
&#60;p&#62;hi i'm new to this.. i wanted to install bbpress but after providing the database name and user i get this error.. (on top)
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "bbpress 0.9.0.1   &#62; 30 queries per page"</title>
<link>http://bbpress.org/forums/topic/bbpress-0901-gt-30-queries-per-page#post-15140</link>
<pubDate>Tue, 08 Apr 2008 11:12:58 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">15140@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;WordPress.org forum is about 500Mb of data.
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "bbpress 0.9.0.1   &#62; 30 queries per page"</title>
<link>http://bbpress.org/forums/topic/bbpress-0901-gt-30-queries-per-page#post-15139</link>
<pubDate>Tue, 08 Apr 2008 11:12:02 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">15139@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Using one server will only ever get you so far no matter how lean the application you are running is.&#60;/p&#62;
&#60;p&#62;Massive query caches are no use if you don't have the data to fill them. WordPress.com forums (all languages) doesn't amount to more than 200Mb of data. So even a 1Gb query cache would be mostly empty or stale. WordPress.org wouldn't be much bigger (and may be smaller). I don't actually know what the query cache size is on the servers by the way. Query caching is great. Massive query caches aren't anything special IMHO.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "bbpress 0.9.0.1   &#62; 30 queries per page"</title>
<link>http://bbpress.org/forums/topic/bbpress-0901-gt-30-queries-per-page#post-15129</link>
<pubDate>Tue, 08 Apr 2008 05:23:32 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">15129@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;As fascinating as it is, unfortunately the setup that automattic uses can't be compared in any way to a single stand alone server (or VPS) running it's own mysql processes since you can use a radical amount of caching ram on the dedicated db servers.&#60;/p&#62;
&#60;p&#62;However bbPress  could benefit someday from a port of wp-super-cache (or even just wp-cache2) to send non-logged in/non-members cached pages.  There's a big difference between a forum with 1000 active logged-in users where pages have to be customised via the core and plugins vs.  1000 guests/bots who all see the same pages. &#60;/p&#62;
&#60;p&#62;It bothers me that my fully loaded demo at bbshowcase.org has now beached the 100ms mark for front-page generation (bare bbPress is like 40ms) but I can't think of any easy ways to speed that up further without removing features. Maybe when PHP 5.3 comes out which seems to promise a 10-15% code speedup.
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "bbpress 0.9.0.1   &#62; 30 queries per page"</title>
<link>http://bbpress.org/forums/topic/bbpress-0901-gt-30-queries-per-page#post-15121</link>
<pubDate>Tue, 08 Apr 2008 04:45:53 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">15121@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I can only give you a vague idea of loads we experience in our environments. They aren't exactly standard setups.&#60;/p&#62;
&#60;p&#62;On WordPress.com the forums are served by the same infrastructure as the blogs. The forums don't really make a dent in the load on that setup (hundreds of servers). Average of all queries is about 45 queries per second, over 90% of this is handled by MySQL query cache.&#60;/p&#62;
&#60;p&#62;WordPress.org and bbPress.org are run from the same cluster which has three active load-balanced web servers and two database servers (one for writing and one for reading). The majority of the database load on this cluster is reads initiated by the forums and to a lesser extent reads initiated by the WordPress Codex (MediaWiki). Average load is about 700 reads per second, about 80% of those reads are cache hits.&#60;/p&#62;
&#60;p&#62;Most of our servers have 2GB of RAM and 4 processor cores. Some DB servers might have more RAM. But there is nothing particularly special about the hardware otherwise. Pretty much the same as you would rent from a dedicated server provider.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "bbpress 0.9.0.1   &#62; 30 queries per page"</title>
<link>http://bbpress.org/forums/topic/bbpress-0901-gt-30-queries-per-page#post-15102</link>
<pubDate>Mon, 07 Apr 2008 10:19:25 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">15102@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;&#60;em&#62;The bb-&#38;gt;load_options = true brought the load of the cpu to 5 times that of the one with 30+ queries but I guess that comes from not having that many topics in the newly installed Db so I really don't know what to make of this.&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;Turn on (or increase) your mysql caching. It's fairly obvious you are running either without any or not enough of it if you can detect any load increase with load_options=true. The query to load all options would be exactly the same across all instances for all users and mysql would pick up on that immediately and keep it in the cache, always. At least that's what happens on my installs. I don't have a site with 50k views a day but I have a 0.8.2.1 version with 15k views a day and it runs very fast.&#60;/p&#62;
&#60;p&#62;Also make sure you use a php opcode cache like eaccelerator, xcache, etc. Best thing you can do for bbPress or WordPress.&#60;/p&#62;
&#60;p&#62;0.9 of bbPress is not some kind of radically different change since 0.8 - there are many bug fixes and a few features added but the db calls are almost identical (some plugins however can be sloppy about not caching queries so that can cause issues). &#60;/p&#62;
&#60;p&#62;Try my &#60;a href=&#34;http://bbpress.org/plugins/topic/bb-benchmark/&#34;&#62;bb-benchmark&#60;/a&#62; if you want to see what happening behind the scenes for each page generated.
&#60;/p&#62;</description>
</item>
<item>
<title>andersson on "bbpress 0.9.0.1   &#62; 30 queries per page"</title>
<link>http://bbpress.org/forums/topic/bbpress-0901-gt-30-queries-per-page#post-15100</link>
<pubDate>Mon, 07 Apr 2008 09:09:23 +0000</pubDate>
<dc:creator>andersson</dc:creator>
<guid isPermaLink="false">15100@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;:)&#60;/p&#62;
&#60;p&#62;ok ok, I believe you. 0.9.0.1 is good enough to give a try.&#60;/p&#62;
&#60;p&#62;Just one more thing:  I'm guessing you have something like 100,000 pageviews a day in this forums which would render about 3,000,000 queries (moderate estimate) if you run bbpress 0901 out of the box. Your servers are cool with this? RAM at OK level?&#60;/p&#62;
&#60;p&#62;No need for exact figures but just a notion of what's been your experience so far would be golden. 3,000,000 queries a day means around 35 queries per second. That's some load.&#60;/p&#62;
&#60;p&#62;Thanks again.&#60;/p&#62;
&#60;p&#62;EDIT: The reason why I'm asking is that I'd really like to continue to use bbpress as my primary PHP-framework for all my sites that has logon/user needs as I've had a hard time to find a more suitable framework to my needs.
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "bbpress 0.9.0.1   &#62; 30 queries per page"</title>
<link>http://bbpress.org/forums/topic/bbpress-0901-gt-30-queries-per-page#post-15096</link>
<pubDate>Mon, 07 Apr 2008 07:04:44 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">15096@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Oh, and not to mention this forum as well.
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "bbpress 0.9.0.1   &#62; 30 queries per page"</title>
<link>http://bbpress.org/forums/topic/bbpress-0901-gt-30-queries-per-page#post-15095</link>
<pubDate>Mon, 07 Apr 2008 07:03:46 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">15095@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;We have been running revisions which are only slightly older than 0.9.0.1 at WordPress.org and WordPress.com for a while now without fault.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
