92 points · by eatonphil · 3y ago · 83 comments
A bit like a McDonalds fan praising an upmarket restaurant on the quality of their food.
Ok, bit of a cheapshot. In seriousness, I never fully understood MariaDB - there may have been a concern about Oracle's plans for MySQL but was that really enough to start a for-profit corporation?
And in the meantime, the big cloud vendors did a decent job of offering their own SQL options. And then we have Postgres - it was always technologically superior to MySQL but over the past few years its become as easy to deploy and run as MySQL was.
I just don't see what segment or differentiator remained for MariaDB as a for-profit corporation.
Can you explain why the dozens or so Postgres scale up solutions don’t use real Postgres?
Or why anyone at scale with Postgres migrates away?
https://www.uber.com/en-US/blog/postgres-to-mysql-migration/
This outage would have been a lot less likely with MySQL because of redo logs which MySQL has had for a decade. But Postgres replication is under developed. https://about.gitlab.com/blog/2017/02/10/postmortem-of-datab...
Facebook has evaluated every database on the planet and still uses MySQL. https://engineering.fb.com/2021/07/22/core-infra/mysql/
When MySQL has more users, can scale significantly more, runs some of the largest sites on earth, and even lends its storage engine to other databases like Dynamo you should backup your claims that Postgres is technically superior. Please.
But I agree that MySQL is easier to use at high scale for its superior replication story, 3rd party tooling, and pragmatism. If you’ve only run small Postgres you don’t know the fear of the query planner suddenly going AWOL at 3am, or needing to shard your database under duress as you watch the Postgres transaction ID stick closer and closer to overflow because VACUUM won’t finish. You haven’t needed to stress out about the super low practical connection limit and build a cluster of Postgres proxies using PGBouncer or similar.
Related blog post by a teammate: https://www.notion.so/blog/sharding-postgres-at-notion
Also note that folks aren’t running giant vanilla MySQL clusters. They’re running it through vitess or home grown tools with similar functionality.
Finally MySQL gets performance in these large setups by turning off features like foreign keys, acid guarantees etc. it’s awesome and powerful that you can do this in MySQL but it’s not apples to apples here. MySQL has also improved a lot on these dimensions in the last few years.
The other reality here is that on nvme hardware with a few tb of ram you can get away with a basic reader writer replica setup for a long time.
I was at GitHub in 2017 when that GitLab outage happened. We had 60 million users running on vanilla MySQL no Vitess at that point. We had 10 million users literally running on 3 MySQL servers. Don't pretend that even now Postgres can do that.
Large MySQL users are generally not turning off acid guarantees. That is nonsense. What settings are you even specifically referring to with this?
On the durability side, large MySQL shops only mess with innodb_flush_log_at_trx_commit if there's a safe distributed durability mechanism in use (e.g. synchronous or semi-synchronous replication). Or perhaps if the data is ephemeral/recomputable, but that's a similar use-case to running Postgres on a ramdisk.
On the isolation side, MySQL supports READ UNCOMMITTED (unlike Postgres) but it is very rarely used. Only useful for some specific situations. fwiw MS SQL Server supports it too, it's not a MySQL specific thing.
facebook was build using pho mysql since start, by the time they have billion dollar valuation 8ts too late for them to change.
MySQL has multiple edge cases where things on the master will not happen on the slave depending on which replication method you've selected and which features you're using. MySQL is the issue here.
No, it wasn't, and still isn't.
MySQL supports replication correctly and out of the box, Postgres still hasn't figured this out.
(Replication is the #1 important feature for any setup that is larger than one server.)
That's... just replication. And postgres handles replication fine in my experience, I could in fact say the opposite about MySQL. What issues do you have with it?
(Most of the problem comes from the fact that Postgres hasn't figured out that they need a standardised replication event wire protocol to do this correctly.)
Postgres documents that their replication protocol can lose committed transactions. https://patroni.readthedocs.io/en/latest/replication_modes.h...
Looking real good.
Perhaps even more so because Percona already pre-dated MariaDB.
Also as I understand it Percona is much closer to Oracle MySQL than MariaDB because MariaDB was a point-in-time fork on 5.5.
But looking at their financials, I get the feeling they have a "too much money" problem.
They are spending about $3M per month on "Research and development".
They are spending about $2M per month on "Sales and marketing".
They are spending about $2M per month on "General and administrative".
At a company valuation of under $50M and monthly revenue of under $5M.
Cutting down on the spending is probably the right thing.
Spending millions per month on sales and marketing and having only $5M MRR to show for it seems like the marketing is not effective.
Spending millions per month on development and not having a killer product that sells itself seems like the development is not effective.
> The facility will be used to pay off a European Investment Bank loan, with a maturity date of October 11, 2023.
> The new VC loan has a maturity date to a maximum of January 10, 2024.
I'm no business expert but this strikes me as the corporate equivalent of taking payday loans to make your car payment.
It looks like they're taking the route of just focusing on enterprise customers, which seems risky given the competition in that space is already fairly entrenched and dominant.
Personally, I don't see them lasting another 5 years. At least, not thriving.
It's widely supported, and tons of software is written on top of it -- requires it.
It's clearly part of the problem that practically nobody in this thread even know WTF Xpand(formerly Clustrix) is, and are judging MariaDB Inc's actions largely on a "why MySQL fork" basis.
My ex-colleagues from Clustrix who stayed on-board through the MariaDB acquisition have all been recently #opentowork and talking of getting terminated on LinkedIn. Not marketing people, these were the engineers maintaining Xpand.
The Xpand/Clustrix tech is far more interesting than any of MariaDB/MySQL/Postgres, but proprietary.
You're right; this is like pulling the rug out from under guests you invited into your home and telling them to seek shelter elsewhere.
If you read article, Samsung.