Perhaps MariaDB is a better choice.
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.
Didn’t Postgresql effectively win the database wars? Why use anything else?
Postgres or sqlite are the only ones I ever consider nowadays.
See also duckdb and clickhouse for OLAP of course.
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?
Clearly you can’t use MySQL because it isn’t webscale.

Dude. You never finish.
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!
Tutorials mostly.
It used to be free with less of a barrier to entry than postgres
@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.
What year is this? No one should be using Mysql since MariaDB came about.
when is Oracle gonna go Broadcom mode on MySQL, still waiting for the moment 🍿
MariaDB is not always a drop-in replacement. There’s several features that MySQL has that MariaDB doesn’t, especially related to the optimizer (for some types of queries, MySQL will give you a more optimized execution plan compared to MariaDB). It’s also missing some newer data types, like JSON (which indexes the individual fields in JSON objects to make filtering on them more efficient).
MariaDB and MySQL are both fine. Even though MySQL doesn’t receive as much development any more, it doesn’t really need it. It works fine. If you want a better database system, switch to PostgreSQL, not MariaDB.
Wamp anyone? (I think thats what its called, im at work and cant check my pc) Or am i the odd one out.
Are there real advantages to using either MySQL or MariaDB instead of PostgreSQL?
Maybe that once every 2 years when you upgrade to major version it does it automatically? You save 15 mins every 2 years?
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
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.
If you’re constrained by resources (CPU/RAM).
There’s a reason most web hosts usually have mariadb and not postgres.
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.
No. But there are a number of advantages of using PostgreSQL over the others.
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.
That’s why I moved to MSSQL
/s
No one should be using MySQL since 2010.
But but but, it has the word “my” in it
/s
Both MySQL and MariaDb are named after the developer’s daughters.
Apache Phoenix: allow me to introduce myself
Who?
Apache Phoenix
Looks great for my blog!

















