Live data from Hacker News

Ask HN: It's 2023, how do you choose between MySQL and Postgres?

news.ycombinator.com

21–30 of 366 posts

Re: Ask HN: It's 2023, how do you choose between MySQL and Postgres?

#25

By choosing SQLite. No server process and a single file per DB which I can put wherever I like.

SQLite is great for its scope - but not in the same class as a full-fledged RDBMS.

Can you give a specific example of what you are missing when using SQLite?

Re: Ask HN: It's 2023, how do you choose between MySQL and Postgres?

#26
PostgreSQL every time, unless you have a specific reason, or as already pointed out, you're sure you don't just need SQLite.

PSQL in my experience has vastly better tooling, community, and is ahead of the curve tech wise. Same with extensions availability. Or perhaps you need to move away from it to say CockroachDB, or similar which is much easier.

Re: Ask HN: It's 2023, how do you choose between MySQL and Postgres?

#28

Earlier quoted context omitted.

SQLite is great for its scope - but not in the same class as a full-fledged RDBMS.

Can you give a specific example of what you are missing when using SQLite?

Multi writer, access through the internet without 3rd party software, etc.

Re: Ask HN: It's 2023, how do you choose between MySQL and Postgres?

#30

If Postgres was that much better than MySQL then you would expect to see exact reasons on why to pick it. Every comment so far has not listed any reason.

If you're doing any sort of spatial logic (e.g. mapping), you'll want to use PostGIS.
Post reply on HN