Dev Shed Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDev Shed Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old May 7th, 2003, 11:44 AM
entropia entropia is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 233 entropia User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 38 m 6 sec
Reputation Power: 6
best hardware for mysql server and other advices

dear all,
im going to start a server that will offer web statistic to the users.

i already built the mysql database, the problem now is the best hardware that i should use for the server machine.

the database is composed by 25 tables , and that ones will be all opened for storing data and retrieve and solve queries.

i did everything under windows os (Xitami+PHP+Mysql) for the testing, but now i wish to use linux, i installed red hat 8.0 (it is a good choose? )

what the best hardware you suggest ?
memory quantity
number of processor
ecc..

thank you

Entropia

Reply With Quote
  #2  
Old May 7th, 2003, 06:43 PM
mttatkns mttatkns is offline
Got source?
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Mar 2003
Location: Laguna Niguel, California, USA
Posts: 2,332 mttatkns User rank is Private First Class (20 - 50 Reputation Level)mttatkns User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Quote:
i did everything under windows os (Xitami+PHP+Mysql) for the testing, but now i wish to use linux
Also consider BSD
Quote:
i installed red hat 8.0 (it is a good choose? )

sure, you might want to update the versions of applications that you will use (Apache, MySQL, etc). Use a seperate computer that you don't use as a desktop and just run command line, this will keep resources usage low.
Quote:
what the best hardware you suggest ?
memory quantity
number of processor
ecc..

The computer's specs are not very important alone, I would focus on your internet connection first and not worry about hardware (assumming it meets OS minimum requirements) after you have gigabit or faster.

Reply With Quote
  #3  
Old May 8th, 2003, 01:46 PM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,711 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 2 Weeks 6 Days 4 h 53 m 59 sec
Reputation Power: 259
You forgot to tell us two important parameters:
Max number of concurrent users
Average number of concurrent users
A plus would be the size of the average recordset returned.

After getting a very fast connection I would suggest (as a default) a 2CPU 1Gb RAM 7200 rpm SCSI server.

Last edited by pabloj : May 8th, 2003 at 01:49 PM.

Reply With Quote
  #4  
Old May 12th, 2003, 03:18 AM
entropia entropia is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 233 entropia User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 38 m 6 sec
Reputation Power: 6
Hi,

not ewasy to know how mny people will use the service.

i suppose to serve about 1000 people in the first year.

id like to know how big it is the result returned but i dont knwo how to measure it

any suggest ?

entropia

Reply With Quote
  #5  
Old May 12th, 2003, 03:34 AM
mttatkns mttatkns is offline
Got source?
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Mar 2003
Location: Laguna Niguel, California, USA
Posts: 2,332 mttatkns User rank is Private First Class (20 - 50 Reputation Level)mttatkns User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Apache generates logs which show precise information about who visits your site, when they visit, what they access, and some statistical information about them. The key is getting a good program to interpret these logs and present the results in an easy-to-overview format. I highly recommend webalizer for this purpose.

Reply With Quote
  #6  
Old May 12th, 2003, 07:35 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,711 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 2 Weeks 6 Days 4 h 53 m 59 sec
Reputation Power: 259
Quote:
id like to know how big it is the result returned but i dont knwo how to measure it


Turn on database logging for some time (and slow queries logging), then find out the most frequently runned queries (top 3 for example) and the ones that take longer to run.
Optimize indexes for those queries with the help of EXPLAIN.
Then with those queries you can calculate the average recordset size (rows and cols) and then calculate the size.

Reply With Quote
  #7  
Old May 13th, 2003, 03:13 AM
entropia entropia is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 233 entropia User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 38 m 6 sec
Reputation Power: 6
thank you all for the suggest, i will check about the xitami log file.

i forgot to say that i will put the web pages somewhere (hosting server ) and i will setup the server machine only for run the database and webserver software, so it should reduce the bandwith i need.

so the schema its :

user-->hosting --> my server machine

what do you think about this solution ?

entropia

Reply With Quote
  #8  
Old May 13th, 2003, 06:16 PM
mttatkns mttatkns is offline
Got source?
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Mar 2003
Location: Laguna Niguel, California, USA
Posts: 2,332 mttatkns User rank is Private First Class (20 - 50 Reputation Level)mttatkns User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Most hosts support MySQL... if you're going to pay anyways, why would you want to have it seperate on your own machine? Just wonering...

Reply With Quote
  #9  
Old May 14th, 2003, 03:46 AM
entropia entropia is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 233 entropia User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 38 m 6 sec
Reputation Power: 6
because i will be free about the space required by the database (at begin it will not a poblem but later it will be..)

entropia

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDev Shed Lounge > best hardware for mysql server and other advices


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway