Jump to content

RAM For mysql


jaymc

Recommended Posts

My database accumlates 1.5GB of data

 

Here are the stats taken of the last 50 days

 

#############################

Query statistics: Since its startup, 395,295,392 queries have been sent to the server.

Total ø per hour ø per minute ø per second

395 M 325.21 k 5.42 k 90.34

 

Select = 42.21%

Update = 21.16%

Insert = 2%

Change db = 18.2%

#############################

 

I have 32GB of ram at my disposal and 4x single core Xeon 2.7GHZ 2MB cache, however I am using some of it for Virtual machines but only for webservers so wont use too much!

 

The max amount of memory I have ever seen a dedicated mysql box have was 12GB and if I remember correctly it never used more than 8GB

 

What would you recomend the minimum memory and CPU to give to MYSQL based on those stats above. Remember this is the central database so anything MYSQL related will go to this!

 

All my tables are InnoDB

 

At current I have 1 server (3GB memory, 2 single core CPU, which handles mysql, apache, lighttpd and the load does suffer at peak

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.