Multi-core MySQL fun!
May 11, 2008 2:49 AM
Subscribe
MySQL experts: How to get the optimal performance from a database server with a quad core processor?
We've just put a database server in with a quad core processor to replace its struggling predecessor, and it does seem to be doing a lot better than the previous box. A couple of concerning things for me though are: 1) it seems that the first core is doing almost all of the work, while the other three don't really do much. 2) The load average on this box (linux) is usually in the teens, sometimes up to 40 or 50. Now while this is going on, shells are very responsive and a test query from another machine is in the 0.01 second response range.
I should also note this machine is handling on average 800-1200 concurrent connections.
So this is a 2 parter question. 1) seeing my concerns above, is that normal and nothing to be concerned about? and 2) where can I get information on optimizing MySQL for multiple cores? My Google-fu returned surprisingly little in this vein. Mostly I got benchmarks of tests where people didn't bother to explain HOW they optimized MySQL for multi-core, only mentioning that they had done so.
posted by barc0001 to computers & internet (14 comments total)
8 users marked this as a favorite
Try RAID, or spend some on the fastest drives you can- or both.
posted by mattoxic at 3:31 AM on May 11