News for hackers. Stuff that matters.
Re:An early look at Postgres 14: Performance and monitoring ... by jjeaff on Saturday May 22, 2021 @01:06PM (#27248351)
MySQL 8 is not that far behind in feature parity. And is ahead when it comes to scalability. So I don't see postgres as necessarily standing alone.
Re:An early look at Postgres 14: Performance and monitoring ... by purerandomness on Saturday May 22, 2021 @01:26PM (#27248553)
No DDL transactions, no materialized views, the list is endless.

There's almost no reason to pick MySQL for a new project.

Re:An early look at Postgres 14: Performance and monitoring ... by tfigment on Saturday May 22, 2021 @02:36PM (#27249124)
MySQL and mariadb have first class temporal tables. Pg has compile requirement and so cannot use in AWS RDS.
Re:An early look at Postgres 14: Performance and monitoring ... by lowercased on Saturday May 22, 2021 @03:12PM (#27249437)
I was aware maria had temporary tables, but not mysql proper. Any links you can point me to? Every search is coming up with 'temporary' table info, not temporal.
Re:An early look at Postgres 14: Performance and monitoring ... by dragonwriter on Saturday May 22, 2021 @02:59PM (#27249296)
> MySQL and mariadb have first class temporal tables. Pg has compile requirement and so cannot use in AWS RDS.

There’s a pl/pgsql reimplementation of temporal tables specifically for that use case.

Re:An early look at Postgres 14: Performance and monitoring ... by phonon on Saturday May 22, 2021 @05:13PM (#27250325)
Re:An early look at Postgres 14: Performance and monitoring ... by lowercased on Saturday May 22, 2021 @03:19PM (#27249506)
mysql8 has gis/spatial stuff built in now. may not quite be on par with postgis, but... i also don't have to futz with "doesn't come baked in". Dealt with someone who wrote a whole bunch of lat/lon/spatial stuff in client code because we're on postgres but ... he couldn't get postgis installed (then even if he could, figuring out how to convince the ops people to add a new 'thing' in production would have been a delay).

having stuff baked in is often a win.

Re:An early look at Postgres 14: Performance and monitoring ... by aseipp on Saturday May 22, 2021 @09:59PM (#27251848)
MySQL has transactions for DDL changes since 8.0.
Re:An early look at Postgres 14: Performance and monitoring ... by tpetry on Sunday May 23, 2021 @02:58AM (#27252958)
MySQL has atomic ddl, which means if a ddl operation fails it is reverted. But PostgreSQL has really transactional ddl which means you can do ddl operations in a transaction and you can commit/rollback multiple ddl operations at once and not each by it‘s own like MySQL does.

https://dev.mysql.com/doc/refman/8.0/en/atomic-ddl.html

Re:An early look at Postgres 14: Performance and monitoring ... by paozac on Saturday May 22, 2021 @01:16PM (#27248460)
MySQL's lack of DDL transactions is a serious shortcoming.
Re:An early look at Postgres 14: Performance and monitoring ... by ezekiel68 on Saturday May 22, 2021 @01:22PM (#27248514)
You claim that MySQL 8 is ahead when it comes to scalability. What are the bases of this claim? When I see comparisons or entire systems that rely on a database (that is, not micro-benchmarks) such as the TechEmpower web framework benchmarks [0] , I notice that the 'Pg' results cluster near the top, with the "My" results showing up further down the rankings. I understand this isn't version 14 of the former versus version 8 of the latter. But it makes me wonder what the basis of your claims is.

[0] https://www.techempower.com/benchmarks/

Re:An early look at Postgres 14: Performance and monitoring ... by the_duke on Saturday May 22, 2021 @01:42PM (#27248696)
Techempower is not a database benchmark. The tests that involve a DB exist to include a DB client in the request flow, not to put any serious load on the database.
Re:An early look at Postgres 14: Performance and monitoring ... by isbvhodnvemrwvn on Saturday May 22, 2021 @01:30PM (#27248596)
Aren't those run on a single node DB server? And the queries don't really seem realistic at all, e.g. single query test fetches 1 out of 10 000 rows, with no joins at all. Fortunes fetches 1 out of 10 rows. This seems extremely trivial.
Re:An early look at Postgres 14: Performance and monitoring ... by merb on Saturday May 22, 2021 @01:32PM (#27248613)
well if you need more than one server, mysql has vitess, which is huge. postgres has citus, but that is way more complex to setup than vitess.

I still would never use mysql, just because of vitess.

Re:An early look at Postgres 14: Performance and monitoring ... by ksec on Saturday May 22, 2021 @03:16PM (#27249471)
Are there any Roadmap for MySQL 9 ?