|
|
Log in / Subscribe / Register

PostgreSQL reconsiders its process-based model

PostgreSQL reconsiders its process-based model

Posted Jun 21, 2023 13:54 UTC (Wed) by jhoblitt (subscriber, #77733)
In reply to: PostgreSQL reconsiders its process-based model by Sesse
Parent article: PostgreSQL reconsiders its process-based model

As I've been using both for decades and it is very common for applications to be tied to psql specific SQL features or extensions such as pgshere. Mariadb (MySQL) has long had working binary log replication, no need to fiddle with vacuuming, and doesn't require a connection pooler for non-trivial use cases. Many of these administrative concerns have gotten better on the psql side and replication is mercifully no longer a roll-your-own situation but it is still easier to scale Mariadb. The difficulty with deploying psql for non-trivial use cases is why yugabyte/etc. are gaining popularity.


to post comments

PostgreSQL reconsiders its process-based model

Posted Jun 21, 2023 13:59 UTC (Wed) by Sesse (subscriber, #53779) [Link] (2 responses)

But then you're surely aware that the SQL protocol and dialect is only a small fraction of that? There's no way MariaDB could ever run a Postgres extension, and it wouldn't gain any of the desired SQL features just by having a translation layer.

PostgreSQL reconsiders its process-based model

Posted Jun 21, 2023 14:43 UTC (Wed) by jhoblitt (subscriber, #77733) [Link] (1 responses)

Of course not. I did not suggest a SQL to SQL level translational layer. It is obviously possible to reuse the psql query parser with a different backend storage engine as yugabyte has done this. See https://en.m.wikipedia.org/wiki/YugabyteDB#/media/File%3A...

PostgreSQL reconsiders its process-based model

Posted Jun 21, 2023 14:49 UTC (Wed) by Sesse (subscriber, #53779) [Link]

But there's a _huge_ amount of code between the parser and the storage layer. I could understand your proposal if it were “use PostgreSQL with InnoDB as the storage backend” (there are significant issues with it and it would be a large project, but at least I could understand the proposal), but not “use MariaDB with the PostgreSQL parser” (which sounds basically impossible if you ever want compatibility with real, nontrivial applications).


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds