Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Sep 18, 2013 12:38 pm 
Offline
Senior Newbie

Joined: Mon Sep 03, 2012 12:42 am
Posts: 6
Hi,

I would appreciate comments on MySQL optimized settings for a 4GB Linode hosting only Drupal sites.

Thanks.


Top
   
PostPosted: Wed Sep 18, 2013 4:15 pm 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
msamavi,
We're going to need to know a little more than "MySQL, Drupal, 4GB Linode".
- How many sites?
- How much traffic?
- Are all the sites completely dynamic?
- How much content is database driven?
- Will you have forums?
- How often will you be adding new content to your sites?

Those are just a few question, but others could have many more. Please give us as much information as possible about your sites.

Remember: Make it as easy as possible for us to help you.


Top
   
PostPosted: Thu Sep 19, 2013 2:28 am 
Offline
Senior Newbie

Joined: Mon Sep 03, 2012 12:42 am
Posts: 6
Thanks Main Street James,

- 10 sites
- around 800 GB monthly
- Yes, all dynamic
- 90% content database driven
- Forums not yet, but 1 online shop (Ubercart) and starting blogs
- new contents added daily


Top
   
PostPosted: Thu Sep 19, 2013 2:52 am 
Offline
Senior Member
User avatar

Joined: Thu Feb 16, 2012 9:01 pm
Posts: 52
And is the database on the 4G alone (recommended) or is some memory/CPU consuming web server there as well? If so how much memory is the web server consuming?

I'd put the web server on its own machine. Makes it easier to scale/replace web servers and database independently.


Top
   
PostPosted: Thu Sep 19, 2013 3:01 am 
Offline
Senior Newbie

Joined: Mon Sep 03, 2012 12:42 am
Posts: 6
Yes, on the same machine.


Top
   
PostPosted: Sun Sep 22, 2013 10:31 am 
Offline
Senior Newbie

Joined: Mon Sep 03, 2012 12:42 am
Posts: 6
Any comment, please?


Top
   
PostPosted: Sun Sep 22, 2013 11:32 am 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
msamavi,
You've supplied some information but you haven't told us anything you've already done to optimize MySQL.

You also haven't told us that you're actually having a performance problem. Dealing with hypotheticals makes it almost impossible for us to offer any specific help.

Remember: Make it as easy as possible for us to help you.


Top
   
PostPosted: Sun Sep 22, 2013 7:23 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
With at least 24 hours since your last MySQL config change or restart:

Code:
wget mysqltuner.pl
perl mysqltuner.pl


Research and understand every suggestion it makes before implementing it, because sometimes it's wrong.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group