LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 01-03-2009, 12:57 AM   #1
cooljai
Member
 
Registered: May 2007
Location: /dev/random
Distribution: CentOS, Fedora, RHEL, SuSE
Posts: 62

Rep: Reputation: 15
Question Which server would you recommend for MySQL


Friends,

I've to install and configure MySQL for a very large website on Amazon Elastic Computing Cloud (EC2). I've two choices for server machine:

1. Extra Large Instance having 15 GB of memory, 8 EC2 Compute Units (1.0-1.2 Ghz each), 1690 GB of instance storage, 64-bit platform

2. High-CPU Extra Large Instance 7 GB of memory, 20 EC2 Compute Units (1.0-1.2 Ghz each), 1690 GB of instance storage, 64-bit platform

So, what you would prefer from more CPU power or more RAM for a very busy MySQL DB Server ?

Regards,
 
Old 01-03-2009, 07:23 AM   #2
sokar24
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
Tons of cash

If I look at the prices: Extra Large $0.88 per hour
Iam wondering how much cash you are making with your website, it will be around 600 bucks/month. You can rent a few monster dedicated server boxes for that price... I asume you want it to be up 24/7?
 
Old 01-05-2009, 12:58 AM   #3
chrism01
Guru
 
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.2, Centos 5.8
Posts: 11,740

Rep: Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905
If the data is largely static ie you're serving up data, rather than a transaction processing system, then more RAM, because more 'answers' are cached in RAM instead of being disk-bound, a notorious bottleneck for DBs.
This is still true if the system is a dedicated DB server and any (most) data processing is on another system.
 
Old 01-05-2009, 01:45 AM   #4
cooljai
Member
 
Registered: May 2007
Location: /dev/random
Distribution: CentOS, Fedora, RHEL, SuSE
Posts: 62

Original Poster
Rep: Reputation: 15
Thanks chrism01!

I'm going to setup Master-Slave, where Master will be used only for writing (insertion/updation) and Slave for reading (multiple servers will read it to generate heavy reports). Both will be dedicated DB servers.

Therefore, what I can assume here is that I should go for more cpu for first server (as writing is greatly involved) and select more RAM for second one (where caching will help significantly).

Am I seems correct ?

regards,
 
Old 01-05-2009, 06:26 PM   #5
chrism01
Guru
 
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.2, Centos 5.8
Posts: 11,740

Rep: Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905
If you can ensure that design (ie Master = insert/update/delete, slave = select) then sounds good to me.
It also means you can trim/customise the OS to DB specific params eg http://dev.mysql.com/doc/refman/5.0/en/disk-issues.html

Good luck

PS remember to ensure the NICs/cables have enough bandwidth
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. SpellChainz Linux - Newbie 1 06-23-2007 03:35 PM
Recommend a book about Apache2 and MySQL DodoTux Linux - Newbie 2 07-11-2006 04:03 PM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
Could anyone recommend me a book for MySQL study? 286 Linux - Newbie 5 01-31-2004 12:11 AM


All times are GMT -5. The time now is 11:35 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration