Scaling out Postgres: Why and How

San Francisco Campus

GA SF
225 Bush Street, 5th Floor (East Entrance)
San Francisco CA 94104

Past Locations for this Event

Scaling out Postgres: Why and How | San Francisco

San Francisco Campus

GA SF
225 Bush Street, 5th Floor (East Entrance)
San Francisco CA 94104

Past Locations for this Event

About this event

Set theory forms the basis for relational algebra and relational databases, and SQL is the lingua franca of modern RDBMS’s. Even with all the attention given to NoSQL in recent years, the lion share of database usage remains relational. But until recently, nearly all relational database solutions have been limited to the resources of a single node. Not anymore.

This talk is about my team’s journey tackling the challenges of distributing SQL. Specifically in the context of my favorite (open source) database: Postgres. I believe that too many developers spend too much time worrying about scaling their databases. So at Citus Data, we created an extension to Postgres that enables developers to scale out compute, memory, and storage by distributing queries across a cluster of nodes. This talk describes the distributed systems challenges we faced at Citus in scaling out Postgres—and how we addressed them. I’ll talk about how we use PostgreSQL’s extension APIs to parallelize queries in a distributed cluster. I’ll cover the architecture of a distributed query planner and specifically how the join order planner has to choose between broadcast, co-located, and repartition joins in order to minimize network I/O. And if there’s time, I’ll walk through the dynamic executor logic that we built. The end result: a distributed database and a lot less time spent worrying about scale.

Agenda: 6:00 pm – 6:30 pm: Registration & Networking 6:30 pm – 7:30 pm: Scaling out Postgres: Why and How 7:30 pm - 8:00 pm: Q&A

Let’s Keep You Updated

Enter your email to start following

I have read and acknowledge General Assembly's Privacy Policy and Terms of Service. SMS message and data rates may apply.