Skip to main content

Reusing PostgreSQL codebase in a Distributed SQL Architecture (YugabyteDB)

UA2.114 (Baudoux) | Day 1 | 15:35 - 16:05 | Speakers: Franck Pachot

Reusing PostgreSQL codebase in a Distributed SQL Architecture (YugabyteDB)
A picture of a devroom at FOSDEM 2024
Open in browser

Notes

Abstract

YugabyteDB distinguishes itself among distributed SQL databases by utilizing PostgreSQL's C code rather than building a compatibility layer from the ground up. This session will explore both the advantages and challenges of this architecture. We will drill down from PostgreSQL's familiar query layer to the distributed storage system, which stores PostgreSQL tuples and lock intents within RocksDB's LSM trees using Raft replication.

We will be guided by analyzing execution plans that closely resemble those of PostgreSQL and adding further metrics that shed light on the underlying storage operations. We may also evaluate stack traces to identify the PostgreSQL and RocksDB functions involved in query execution. Finally, the session will discuss the rationale behind forking PostgreSQL, focusing on its benefits and trade-offs.

Speakers

Franck Pachot

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.