- cross-posted to:
- opensource@programming.dev
- technology@lemmy.world
- cross-posted to:
- opensource@programming.dev
- technology@lemmy.world
MySQL belongs to Oracle. That’s literally all you need to.know in order to avoid it.

how did the joke go? “one rich asshole called larry ellison”?
what’s the joke part?
It spells Oracle.
Isn’t that the point of Postgresql. It’s basically an open source version of MySQL.
I’m sure there are some proprietary nonsense that MySQL has, but I’ve never needed it in 17 years
Postgres is basically an open source version of Oracle DB. Much more featureful than MySQL. I believe Oracle bought MySQL just to kill it.
MySQL always sucked ass.
PostgreSQL went in a different direction, started with best support of the SQL standard, then optimized everything to make it fast.
Postgres has/had the best SQL standard support out of every server, open-source or not.
MySQL was at the other end, only started catching up after Oracle bought it.
afaik MariaDB is the open source version of MySQL
That is an insult to PostgreSQL. PostgreSQL was fully featured relational database even before it implemented SQL. It started much earlier tha MySQL.
And MySQL didn’t have proper transactions or data integrity constraints (including foreign keys) for long time, while calling itself an ‘SQL database’.
Thank you, I never had time to read up on its history when I was busy smashing out sites on stupid deadlines with constant last minute changes and morons for project managers.
MariaDB
Didn’t Postgresql effectively win the database wars? Why use anything else?
Postgres or sqlite are the only ones I ever consider nowadays.
If only the upgrade process wasn’t so annoying with postgres…
What do you mean?
Stop DB, run pg_upgrade, start it, win?
Or set up logical replication into newer version, wait for sync, test use-cases, switch write?
Where do you get better experience?
See also duckdb and clickhouse for OLAP of course.
If you don’t want to use postgresql for some obscure reason use MariaDB real open source MySQL drop in replacement.
Oracle sees itself as an activist organization, one whose goal is the advancement of the Israeli colonization project. Safra Catz, the company’s Israeli-American CEO, bluntly explained that any employees uncomfortable with supporting a genocide should simply quit. “We are not flexible regarding our mission, and our commitment to Israel is second to none” (source)
Hmm, MySQL or PostgreSQL—how will we ever decide which one to pick.
wow, I didn’t need any more reasons not to support Oracle but thanks anyway
What year is this? No one should be using Mysql since MariaDB came about.
Stop using mysql, you have postgres.
And mariaSQL
Hell, even SQLite is good enough for most small projects.
SQLite is underrated. I’ve used it for high traffic systems with no issues. If your system has a large number of readers and a small number of writers, it performs very well. It’s not as good for high-concurrency write-heavy use cases, but that’s not common (most apps read far more than they write).
My use case was a DB that was created during the build process, then read on every page load.
Wow, I never thought about storing build data in an SQLite file. That’s quite clever.
One of SQLite’s recommended use cases is as an alternate to proprietary binary formats: https://sqlite.org/appfileformat.html. Programs often store data in binary files for performance, but you get a lot of the same functionality included with SQLite (fast random access, concurrent usage, atomicity, updates that don’t need to rewrite the whole file, etc) without having to implement a file format yourself.
I’m not sure if this is still the case, but Facebook’a HHVM used to store the compiled bytecode for the whole site in a single SQLite database: https://docs.hhvm.com/docs/hhvm/advanced-usage/repo-authoritative/. Every pageload loaded the bytecode for all required files from the DB.
Fascinating read, I should definitely also make way more use of sqlite for little side projects.
Thanks for the link!They also have a (one-time fee) encryption extension.
FWIW mariadb was bought by a private equity firm in 2024
Oh no… it was the easy solution for Wordpress and other plug and play self hosted services .
The corporation was bought by k1 capital. The foundation and therefore the open source version will always be free
Why would anyone ever choose mysql over postgres?
MySQL has been the “default” choice for a long time for PHP programmers. I don’t know why.
LAMP indeed
We need LAPP . Stat!
It used to be free with less of a barrier to entry than postgres
Tutorials mostly.
@Scrollone @BrilliantantTurd4361 Because it used to be a lot faster than postgresql for smaller sites. MyISAM (https://en.wikipedia.org/wiki/MyISAM) was super lightweight, at the expense of the occasional corrupt database (oops).
I don’t know how many new people are coming to PHP these days (as opposed to javascript/python/rust/etc), but certainly the older PHP coders grew up using mysql.
Perhaps MariaDB is a better choice.
No one should be using MySQL since 2010.
What rock do you live under if you’re using MySQL over MariaDB?
Older people about to return to programming, and most of the online tutorials they have are about 20 years old, having no idea an alternative exists.
Are there real advantages to using either MySQL or MariaDB instead of PostgreSQL?
No. But there are a number of advantages of using PostgreSQL over the others.
Yeah,
I did a speed test comparison between Oracle MySQL and MariaDB MySQL,
MariaDB is about 10 times faster.FYI: When Oracle bought MySQL a lot of developers left and created MariaDB, so the brains behind the project moved, and in the meantime Oracle did a great job of fucking things up.
That’s not what I asked. I asked about a comparison of both of them to PostgreSQL.
Oh misread my bad,
not much experience with PostgreSQL
Operating and securing Postgres is a steeper learning curve. MariaDB is more forgiving for best-effort shoestring setups without compensating scalability for it.
As a dev I’m agnostic, as an owner and computer scientiest I prefer Postgres, as a sysadmin or *Ops I will put my hand up for MariaDB any day if I’ll be on call or maintain deployments.
Is Maria that much better than MySQL?
Cause that one is absolute shit, very difficult to maintain, and requires lots of config changes and even replicas can disconnect when something’s not 100% ok.
I will take Postgres over any other DB any day of the week.
Is Maria that much better than MySQL?
MariaDB is MySQL’s fork, initiated by the main developers, so…
Does that mean it’s still an utter borderline unusable shit?
I’d say ti’s a little bit better.
If you’re constrained by resources (CPU/RAM).
There’s a reason most web hosts usually have mariadb and not postgres.
Maybe that once every 2 years when you upgrade to major version it does it automatically? You save 15 mins every 2 years?
Depends on the task but for general usage there is no big difference. You would choose one over the other if you need one for work.
MySQL often has moderately higher performance (particularly for workloads where you want your data clustered by PK, which is how InnoDB is natively structured) and its replication system is much more flexible than either of PostgreSQL’s. I like Percona personally, but MariaDB is fine too.
Is it true?
Postgres with correct fillfactor, it doesn’t create new pages and works very fast.
Replication in MySQL always sucked ass, only received synchronous replication in some new edition, and that also didn’t sound great.
Postgres has logstream and logical replication, both of them can be set to various levels of synchronicity, and logical replication is configurable at least as well as MySQL is in terms of which data is sent.
MariaDB >>>
I’ve been using it since ever on my rpi because they say it’s easier on resources
Who are “they”?
We use MariaDB at work but I don’t know why it was originally chosen over PostgreSQL, as that was before my time.
Blogs and forums back then when I looked it up.
Can’t remember exactly where (since it’s been a long time ago), but I’m sure more than someone claimed it.
when is Oracle gonna go Broadcom mode on MySQL, still waiting for the moment 🍿
That’s why I moved to MSSQL
/s
Clearly you can’t use MySQL because it isn’t webscale.



















