PDA

View Full Version : Possible solution to fulltext table locking problem?


99Percent
Tue 20th Jun '06, 4:15pm
We are also having server performance problems during searches due to the fulltext locking the thread and post tables. Apache connections surges as the current ones are busy waiting for the table locks to be released. All forum users must wait for that one user to get his search results.

It occured to me to install another instance of mysql on this same server and configure it as slave with replication. This instance would have its own database files and a different port.

Then configure vBulletin to use the slaveserver for the search script.

However I notice that vBulletin (in 3.5.3, function db->connect) checks to see if the master and slave have different names. This will not work if both of them are set to localhost even if they are using different ports. So at least a hack will have to be done here.

eva2000
Wed 21st Jun '06, 11:43am
interesting... maybe for the hack to post/discuss it at http://www.vbulletin.org/forum/forumdisplay.php?f=172 ?

kmike
Fri 23rd Jun '06, 2:29am
We've tried this approach a few years ago, it didn't work too well - the server load was considerably higher than usual, and it started to swap, too. YMMV, if you have a beefer db server. Using a separate physical server is always better though.