News for hackers. Stuff that matters.

MySQL v. PostgreSQL

I've been a long time user of MySQL. I neither love it, nor hate it; but I do find that it meets all my database needs. I was reading the Reddit job posting the other day and I see that they use Postgres as their database and I thought to myself, "is there something I'm missing?" I've never really looked into Postgres, but it seems like I see it popping up all over the place. What's the consensus? Is Postgres superior to MySQL in some way I'm unaware?
( 6 comments | 2 points | on HN )
Re:MySQL v. PostgreSQL by davidw on Thursday September 25, 2008 @10:36AM (#314860)
Historically, Mysql was "faster" than Postgres (it's called Postgres or PostgreSQL) in the same way that a bicycle without brakes was faster at going down hills. These days, Postgres is a lot faster, and Mysql, with InnoDB, has things like transactions that make it an actual database. I've always been partial to Postgres because it was an actual database with more features and without any of the licensing weirdnesses of Mysql.
Re:MySQL v. PostgreSQL by trapper on Thursday September 25, 2008 @10:14AM (#314844)
Data integrity?
Re:MySQL v. PostgreSQL by noodle on Thursday September 25, 2008 @10:13AM (#314843)
postgre used to be superior due to the fact that it had a ton of features that mysql didn't have. now they're approximately even, although postgre does still have more robust features.

mysql, i believe, performs better in most situations and configurations. in the black art of performance tweaking, you can tweak them both down pretty well, but mysql still stays better performing (edited to add:) in general. YMMV based on the needs of your app.

Re:MySQL v. PostgreSQL by gaius on Thursday September 25, 2008 @11:00AM (#314880)
In terms of stored procedure language and locking strategy Postgres is still light-years ahead of MySQL. You can almost think of Postgres as the free Oracle. Going feature-for-feature by introduction date, MySQL is 10-15 years behind.
Re:MySQL v. PostgreSQL by st3fan on Thursday September 25, 2008 @10:35AM (#314857)
... it depends ...
Re:MySQL v. PostgreSQL by noodle on Thursday September 25, 2008 @10:59AM (#314879)
yeah, there's no doubt about the fact that its situational.

just like picking a language