Ask HN: Is PostgreSQL better than MySQL?
31–40 of 83 posts
Re: Ask HN: Is PostgreSQL better than MySQL?
#32Re: Ask HN: Is PostgreSQL better than MySQL?
#33DDL ends a transaction in MySQL. In my opinion, this is a showstopper and deal breaker. Good luck failing a migration in production.
Do people still use pt-online-schema-change for production schema changes? I remember using it a long time ago.
Look ma, no DBA required.
Re: Ask HN: Is PostgreSQL better than MySQL?
#34DDL ends a transaction in MySQL. In my opinion, this is a showstopper and deal breaker. Good luck failing a migration in production.
Do people still use pt-online-schema-change for production schema changes? I remember using it a long time ago.
Re: Ask HN: Is PostgreSQL better than MySQL?
#35DDL ends a transaction in MySQL. In my opinion, this is a showstopper and deal breaker. Good luck failing a migration in production.
A little history, I used: - MySQL from about 1999-2007 - Postgres from 2006-present - Oracle at a job 4 years ago One of the things that absolutely made my brain explode is that Oracle, too, does not support DDL transactions. I discovered this during a pretty funny code review. “Why are you wrapping this DDL in a transaction? That’s pointless.” “Wait… Oracle doesn’t support DDL transactions?” “What do you mean ‘DDL t…
Re: Ask HN: Is PostgreSQL better than MySQL?
#36As 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…
Re: Ask HN: Is PostgreSQL better than MySQL?
#37It depends: the projects make different trade offs and support different points of extension. I find it useful to remember that MySQL has various storage engines (that make different trade offs, and may themselves have different options such as various row formats), when using for instance the default of InnoDB knowing that it uses index organized (meaning stores the data in a btree as opposed to heap) tables can inf…
Re: Ask HN: Is PostgreSQL better than MySQL?
#38To be fair, my PostgreSQL experience is more recent, and both products have matured a bunch, but I've also seen plenty of the bad old MySQL problems—like MyISAM tables and 3-byte unicode—in just the last couple of years.
Re: Ask HN: Is PostgreSQL better than MySQL?
#39The philosophy of postgresql was to do the best possible job the rightest way. Not necessarily the easiest to use nor fastest. The philosophy of mysql was to do the best it can as fast as it can for as many users as it can. Not necessarily the 'right' or 'best' way. Its not like either philosophy is formally documented or mandatory but "generally" matches up pretty closely to real world behavior. The biggest problem…
25 years ago postgresql was clearly a slow DB, but they didn't claim you didn't need performance, just that you had to measure first to ensure you really did (nobody did that measure).
Things have changed. However my career ended up not needing much of a DB ever and so I've never had any need to see how much. I just like to watch the fights from the sidelines.