Ask HN: Is PostgreSQL better than MySQL?
61–70 of 83 posts
Re: Ask HN: Is PostgreSQL better than MySQL?
#62It's been a while since I've given serious thought to this question but I'm glad it's asked because I would like to re-learn and find out if those using it do so for the reasons I perceive PostgreSQL to be "superior" based on talk among peers. The basic "MySQL is faster but lighter on features" is what I recall hearing; also that PostgreSQL is "multi-paradigm" in that you can run document/NoSQL tables, ETL, and data…
MySQL 8.0 has JSON column support: https://dev.mysql.com/doc/refman/8.0/en/json.html
Meanwhile MariaDB lacks a distinct JSON type, but instead provides a lot of functions for manipulating JSON stored in textual types.
Re: Ask HN: Is PostgreSQL better than MySQL?
#63Re: Ask HN: Is PostgreSQL better than MySQL?
#64(Meanwhile a senior dev in iowa is picking up cow shit, and not regretting his career change).
Re: Ask HN: Is PostgreSQL better than MySQL?
#65Here's my experience with PostgreSQL: Coming from Oracle, I've been able to use PostgreSQL pretty much as though it were Oracle, including Oracle's optimistic locking strategy. Some of the SQL functions are a little different, but it seems the underlying philosophy is the same. In other words, PostgreSQL seems like Oracle, just a little different. MySQL has always felt completely foreign to me. Depending on your back…
The concept of schema is also weird for MySQL users, although pervasive in some kind of Michael Stonebreaker' worldview.
Re: Ask HN: Is PostgreSQL better than MySQL?
#66Re: Ask HN: Is PostgreSQL better than MySQL?
#67As a software engineer that worked with a lot of different databases in the last 20 years I have come to believe that PostgreSQL is even better than Oracle (this will certainly spark some fires). I have had shit with a lot of databases but never with PostgreSQL. MySQL has some really nasty documented and undocumented "features" so I rather avoid that database. It has it's place in the universe but it's in on a differ…
When I started in the biz around 2000 any serious tech business running Oracle or maybe SQL Server if they were MS stack. Oracle was miles ahead of everyone else. In the last ten years I don't think I've seen a single org that still runs Oracle. It's legacy at this point. SQL server has surprisingly hung on, but everyone else is using something open source or something cloud.
Over here in Latvia, I've seen orgs that run Oracle and are still starting new projects in it, because that's what they know best and presumably have the licensing all figured out. Admittedly, their automatic indexing and a few other features in the recent releases are useful.
However, in practice it's easier to work with PostgreSQL and MySQL/MariaDB, because of how easy it is to launch either, be it locally or on a server, thanks to the availability of container images. Even if you can launch Oracle XE or something like it in containers, provided that you get your hands on such containers, there will still be challenges in regards to startup time, resource usage and various other quirks.
But hey, for people that don't need to use that approach, I guess nobody ever got fired for picking IBM, Microsoft or even Oracle. Personally I'd just go for PostgreSQL/MySQL/MariaDB in most cases because of the ease of use.
Re: Ask HN: Is PostgreSQL better than MySQL?
#68Re: Ask HN: Is PostgreSQL better than MySQL?
#69Don't miss out on SQLite - https://news.ycombinator.com/item?id=31159281
Re: Ask HN: Is PostgreSQL better than MySQL?
#70if you are already using MySQL, Postgres isn't sufficiently better that it justifies the cost of migrating.