Jump to content

Tips For Larger Forums


Guest Sire_merged

Recommended Posts

Posted

MyISAM is the fastest engine in mysql for searching. Since the posts and topics tables are frequently searched, changing to innodb would kill your site most likely, if it were large. Forget the locked queries, searches will bring the server down.



I based my asnwer off of this. Sorry for not remembering something from a completely different page ;)
Posted

I do recommend changing topic_markers to InnoDB

What I've noticed on some larger sites is that you get queries that are trying to update the topic markers table (which happens nearly every time you load a topic) getting locked. This slows things down quite a bit (because then when you or other people try to view a topic, it won't finish loading till your query against the markers table actually runs).

The markers table isn't searched - it's just selected from based on a key, so I recommend changing it to innodb to prevent the locked queries against it.

Posted

Per bfarber's suggestion I did this today. I will feedback the performance change in a few days once I can get enough entries in the slow queries log to see if any more table locks occur. I had cascading table locks (one lock then another and another as load increased) all but freezing the forums from this. I wonder if by default this table should be InnoDB?

Posted

Is there any chance of IPB ever supporting postgres?

I hit paydirt recently by experimenting with key_cache_division_limit. I'm still figuring out works best but have been using numbers between 30 and 50.

Users have started topics on my "chit chat' type forum which they are pretty much using as blogs with some having 5000+ posts. I'm guessing that users checking in on each other in these every day has been making it hard for much of anything else to stay in the key cache for long and that's why switching to midpoint insertion has helped.

The dev.mysql page on it if anyone is curious
http://dev.mysql.com/doc/refman/4.1/en/mid...-insertion.html

Posted

Is there any chance of IPB ever supporting postgres?



I hit paydirt recently by experimenting with key_cache_division_limit. I'm still figuring out works best but have been using numbers between 30 and 50.



Users have started topics on my "chit chat' type forum which they are pretty much using as blogs with some having 5000+ posts. I'm guessing that users checking in on each other in these every day has been making it hard for much of anything else to stay in the key cache for long and that's why switching to midpoint insertion has helped.



The dev.mysql page on it if anyone is curious


http://dev.mysql.com/doc/refman/4.1/en/mid...-insertion.html


Very interesting... how much has this impacted (good or bad) performance?

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...