Server configurations for hosting MySQL database

Posted by shyam on Server Fault See other posts from Server Fault or by shyam
Published on 2011-11-24T15:22:52Z Indexed on 2011/11/24 17:58 UTC
Read the original article Hit count: 451

I have a web application which uses a MySQL database hosted on a virtual server. I've been using this server when I started the application and when the database was really small. Now it has grown and the server is not able to handle the db, causing frequent db errors. I'm planning to get a server and I need suggestions for that.
Like I said, the db is now 9 GB, and is growing considerably fast. There are a number of tables with millions of rows, which are frequently updated and queried. The most frequent error the db shows is Lock wait timeout exceeded. Previously there used to be "The total number of locks exceeds the lock table size" errors too, but I could avoid it by increasing Innodb buffer pool size.
Please suggest what configurations should I look for in the server I should buy. I read somewhere that the db should ideally have a buffer pool size greater than the size of its data, so in my case I guess I'd need memory gt 9 GB. What other things should I look for in the server?

Just tell me if I should give you more info about the

© Server Fault or respective owner

Related posts about mysql

Related posts about database