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

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:
  #1  
Old September 1st, 2000, 02:54 PM
esmith esmith is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Posts: 2 esmith User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Good day,
I am in the process of feeling out what I would need for a small scale distributed computing effort.
There is a code at http://www.bokler.com/eapoe.html that I'm interested in brute forcing (it is part of a contest, nothing illegal).
In order to do so, I need to keep track of what has been done, who did it, and when. That is it. The hard part is how many of these there are. There are (26^6)*2 possibilities in the best case scenario that we will have to go through (worst case scenerio is (26!*12) (that is 26 factorial) possibilities.
So let's think best case scenario first - that is 617831552 rows.
Each row would look something like this:
userName,date,ABCDEFGHIJKLMNOPQRSTUVWXYZ,2345,F

Only 5 cols, but 618million of them. The first col is a username, likely an e-mail address. The second col would be the date it is submitted. The 3rd would be the alphabet - it will always be some permutation of the alphabet, no more no less. The last is the score, always less than 10K.And the last col is either the letter F or the letter B. (the worst case scenerio would be the same type of rows, but there would be 4839497533519267627008000000 of them).

The clients submitting these would submit probably 10,000 at a time and that would happen maybe every half hour to hour. There will be at least 4 clients and as many as probably 50.

The machine that would hold the database is a dual PIII 667 with 20 gigs hard drive and 512M RAM running Mandrake Linux. I'm assuming the hard drive isn't enough.

So if I could get some feedback on this - I'd be very happy. Is it feasible with that system? Is it feasible with mySQL? What resources should I use for designing it? Any ideas beyond that?

Thanks!

-Eric

Reply With Quote
  #2  
Old September 3rd, 2000, 02:22 PM
gustavopeco gustavopeco is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Location: Piscataway, NJ, USA
Posts: 10 gustavopeco User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Uhh, im pretty sure MySQL will work like crap with so many rows/columns. MySQL wasn't designed for such a big database. I would say MySQL works decently up to about 50,000 and then you should upgrade to Oracle... and 50, 000 is pushing it..

Reply With Quote
  #3  
Old September 3rd, 2000, 04:28 PM
rod k rod k is offline
Apprentice Deity
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Jul 1999
Location: Niagara Falls (On the wrong side of the gorge)
Posts: 3,237 rod k User rank is Private First Class (20 - 50 Reputation Level)rod k User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 m 8 sec
Reputation Power: 13
Send a message via AIM to rod k
Hey, gus, I suggest not posting if you don't know what you are talking about. MySQL can handle tables with millions of records just fine, thank you very much. That said,


esmith, the limitation with MySQL is going to be the total size of the db. You are generally limited to 4GB (depending on OS and version of MySQL).

I agree that MySQL is probably not the best solution for what you are doing here, just not for the reasons gus gives.

Reply With Quote
  #4  
Old September 3rd, 2000, 09:44 PM
esmith esmith is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Posts: 2 esmith User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for the responses!
The attractive thing about mySQL was that it was free.
Any chance there is a free solution that could handle something along the lines of that size?

I also think I can rule out certain sets that wouldn't be allowed, but I'm not sure I can get it down to serveral million.

Anyway, thanks for the response!

Reply With Quote
  #5  
Old September 4th, 2000, 02:04 AM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Pembroke Pines, Florida, USA
Posts: 2,300 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 3 h 12 m 27 sec
Reputation Power: 53
I believe the new version of MySQL (still in beta but pretty stable) supports >4GB table sizes, even on 32-bit hardware. Check it out.

I would say that your hardware is probably underpowered to handle that kind of data, also. I would think you should have at least 2GB of RAM, and a SCSI RAID system.

I also recommend FreeBSD instead of Linux, if you want serious reliability and stability.

You might also consider PostgreSQL. It is not as fast as MySQL for a system doing mainly reads, but it seems your system would be doing a lot of mixed reads and writes, which some people claim PostgreSQL handles better. Worth a try, maybe.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > Would love some feedback


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