Thursday, October 4. 2007Multi-Master MySQL ReplicationTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Very interesting article, but it seems to be useful only if you are using auto_increment values for keys. If you are using anything else, some sort of hashes for example, this will not help. Plus I am not sure how scalable this workaround is. MySQL replication still sux hard without real multi-master option. Hmm, not sure about hashes but it did seem you could add a bunch of servers in this scheme. There’s also clustering but I haven’t dug into that too much: At OSCON I saw a few third party add ons to do what seemed like a true multi-master mysql setup. The demos were impressive but who knows how they do in practice. I must admit I didn’t read the whole article so I may be wrong, but I believe it is possible to have 10 servers at the most with this scheme. Which may or may not be enough depending on your needs, but it is a big limitation for some larger growth. But I didn’t tell this doesn’t look interesting. Oops, I meant "I didn’t say this doesn’t look interesting." Sorry for the typo. I think you could have as many as you’d like by just scaling the offset and increment accordingly. By default, you’d have an auto increment like so: With two: With 20: |
Search This BlogPlanet Sysadmin FeedChris Siebenmann: Go, IPv6, and single binding machines
Thursday, September 9. 2010 Ubuntu Geek: ExpoSong 0.7 released! Wednesday, September 8. 2010 mypapit gnu/linux blog: How to use GNU Privacy Guard (GPG) – Encrypt, Decrypt, Sign and Verifying identities Wednesday, September 8. 2010 Sam Ruby: MPL Alpha 2 Wednesday, September 8. 2010 Simplehelp: How to save documents created in Pages as Microsoft Word (.doc) files Wednesday, September 8. 2010 Disclaimer"This blog is my own and does not represent the positions, strategies or opinions of my employer or anyone else." --Joe This work is licensed under a Creative Commons Attribution Noncommercial Share Alike 3.0 License. |