TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

From MySQL+MMM to MariaDB+Galera Cluster: A High Availability Makeover

31 pointsby itsderek23over 11 years ago

4 comments

contingenciesover 11 years ago
Apologies for a slight tangent, but if you <i>really</i> need SQL&#x27;s structure <i>and</i> you can&#x27;t shard the data to avoid scaling issues, please let me know what kind of system you are running because it IMHO has to be pretty weird.<p>Even in these cases, there are always other potential options, for instance using query playback with a combination less frequent FS or blockstore layer provided snapshot functionality.<p>In practice, in my own experience, generally when people get an SQL based database to a huge size the often greater issue is that someone has a huge mess of bad application code relying completely on the current database configuration that is not time or cost-feasible to modify.
erevlydeuxover 11 years ago
(shameless plug here)<p>Galera doesn&#x27;t come out of the box with a secure SST option. SST, or state snapshot transfer, is how it bootstraps a new&#x2F;failed node to get it close enough to continue with regular Galera replication. If you&#x27;re running on a public cloud, you might care about secured SST communication. I wrote a drop-in secure rsync SST option, based on socat, that uses SSL encryption to seamlessly secure that traffic. Not perfect by any means, but it works without any futzing around.<p><a href="https://github.com/tobz/galera-secure-rsync" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tobz&#x2F;galera-secure-rsync</a>
评论 #6439681 未加载
ck2over 11 years ago
What I want to know is how people deal with innodb&#x27;s dirty horrible secret - how ibdata can grow to infinite massive sizes and can never be reduced, ever. Regardless if you are using &quot;file per table&quot;.<p>It is a ten year old bug [1] never addressed, no tools ever made to optimize it, and the larger your data, the sooner it will come to bite you. Doesn&#x27;t matter if you are using mysql, percona or mariadb.<p>[1] <a href="http://bugs.mysql.com/bug.php?id=1341" rel="nofollow">http:&#x2F;&#x2F;bugs.mysql.com&#x2F;bug.php?id=1341</a>
评论 #6439056 未加载
评论 #6440671 未加载
评论 #6438999 未加载
评论 #6439670 未加载
davidjhallover 11 years ago
Why MariaDB+Galera vs. MySQL Cluster? I read the political decision of Maria being more robust and non-Oracle, but was MySQL Cluster considered? And if not, why?
评论 #6439775 未加载
评论 #6439424 未加载
评论 #6440650 未加载