开发者

phpbb3's slow indexing of new messages

I try to found solution to improve phpbb3 new message indexing. I have about 10000 messages on my forum, and each new message adds VERY long time (20-30 sec). I've checked mysql_slow.log and found long queries there which is actually adding message into phpbb3's index.

D开发者_StackOverflowo someone have or find any ready solutions?


Let MySQL run for 72+ hours (without being restarted) and then download and run MySQL Tuner: (as root)

cd ~/
wget http://www.mysqltuner.pl/ -O ./mysqltuner.pl
chmod +x ./mysqltuner.pl
./mysqltuner.pl

That will give you a good idea of what tweaks you can do to improve performance based upon your actual usage and needs. After you make the tweaks you'll want to restart MySQL and then give it another 48 to 72 hours before you run the tuner again to see if there is any finer tuning you can do.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜