|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Join Date: May 2005
Posts: 912
|
database solutions for a lot of writes
What are the best database solutions out there for sites that do a lot of writes? We use MySQL currently with replication which is fine for load balancing the SELECT's but is clearly useless when a master server goes down.
I don't think MySQL cluster will work for us.. what do you guys who have a lot of dynamic user-generated content use? We are more concerned about performance and availabilty than cost. |
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Nov 2003
Location: New Joisey
Posts: 3,087
|
Sounds like your looking for a Active- Active cluster, i was talking to someone at internext about this same issue. I personally do not know a solution for Mysql that does this. Oracle, Sybase, MS Sql all have it but havent been able to find one for MySql yet. If you find one please share
__________________
|
|
|
|
|
|
#3 |
|
Confirmed User
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
|
Use the MySQL InnoDB engine?
I could be wrong, but I thought that was for high-transaction purposes.
__________________
Your post count means nothing. |
|
|
|
|
|
#4 | |
|
Confirmed User
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
|
Quote:
http://mysql.com/doc/refman/5.0/en/innodb-overview.html
__________________
Your post count means nothing. |
|
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: May 2001
Location: ICQ: 25285313
Posts: 993
|
Easiest: Buy more (SCSI or SAS) disk. SATA, even though it's getting better, still cannot even hold a candle to SCSI (or SAS) based arrays for random writes. The difference still astounds me whenever I put one into production, it's such a difference that it almost defies logic.
Not-so-easy: Re-code application to support MySQL cluster type stuff (e.g. in-RAM tables). Must be able to survive some possible data loss Hard: Re-code application to be "really smart" (tm) about database writes, and load balance across multiple database servers. This requires more than a little logic in the code though, both from a writes and reads standpoint. Hardest: move to Oracle or somesuch, and scale horizontally on really expensive hardware In short.. it really all lies with the application, which unfortunately is usually the hardest part to fix. Hope it helps. -Phil
__________________
Quality affordable hosting. |
|
|
|