I have the following problem.
I have a MMORPG game based on PHP and MySQL with now around 600 queries per second averagely. I happen to have problems with tables which are locked too long and are holding up other queries. (Update queries for example need to wait on Select queries) and these have to wait so long that the memory is full.
Those queries are needed and I don't think I can optimize them anymore.
Is it a smart idea to use replication for Master-Slave? Master for the writes and slave for the selects? Does the slave has less problems in performance with write statements (from the log-bin) than the master? And will it really help getting less table lock problems?
Thanks in advance, Martin
Ah okay, thanks for answering. So if I use InnoDB for those tables. Is it smart to mix them up with MyISAM?
Because a test table which was 70MB with MyISAM became 200MB with InnoDB. I'd rather had some tables which have problems with tablelocks InnoDB and the others just MyISAM.
Thanks in advance, Martin.