"Drop-in Replacement": Defining Compatibility for Postgres and MySQL Derivatives
UB2.252A (Lameere) | Day 1 | 11:25 - 11:50 | Speakers: Jimmy Angelakos, Daniël van Eeden
Abstract
The success of open source databases like PostgreSQL and MySQL/MariaDB has created an ecosystem of derivatives claiming "drop-in compatibility." But as the distance between upstream and these derivatives grows, user confusion and brand dilution can follow.
To address this, we explore the challenge of compatibility with de facto standards from two distinct angles: a governance perspective on defining the compatibility criteria, and a systems engineering case study on implementing them.
- The Standard: We present the findings from the "Establishing the PostgreSQL Standard" working group held at PGConf.EU 2025. This progress report details the community's consensus on the hard requirements needed to fix the "wild west" of marketing claims, including:
- Core SQL: Defining the non-negotiable functions, types, and PL/pgSQL.
- Protocol: Why wire compatibility is insufficient without consistent transactional and
pg_catalogbehaviour. - Ecosystem: The critical requirements for integration with logical replication and tools like Patroni.
- The Implementation: Maintaining compatibility with MySQL/MariaDB in TiDB, a distributed database engine, is far more complex than matching syntax for an evolving SQL dialect:
- We explore the architectural friction of making TiDB speak the MySQL wire protocol and support the MySQL syntax.
- We cover compatibility with the MySQL binary log based replication.
Attachments
Speakers
Jimmy Angelakos is a Systems and Database Architect and recognized PostgreSQL expert who has worked with, and contributed to, Open-Source tools for 25+ years. He is passionate about participating in the community, is a Contributor to the PostgreSQL project, and an active member of PostgreSQL Europe. Jimmy is a regular speaker at conferences and events, sharing his insights with the community. Author of PostgreSQL Mistakes and How to Avoid Them, co-author of PostgreSQL 16 Administration Cookbook.
Daniël is currently working on TiDB for PingCAP. He is active on many open source projects including go-mysql, DBD::mysqll, MySQL, Wireshark, TiDB and more.
Links
External Links
Notice: The placeholder video image is licensed under CC BY-SA 4.0. The original image can be found hereChanges made to the image are: Cropped the image to a new ratio, part of the image was cut off.
