Conference Schedule - FOSDEM PGDay 2017

Logical Replication in PostgreSQL

Date: 2017-02-03
Time: 09:20 - 10:10
Room: Hotel
Level: Intermediate

While the physical replication in PostgreSQL works well and has good performance, there are many use-cases where it is not good fit. This mainly includes cases when only partial replication is needed, when multiple databases need to be replicated to the same target, transformation of the data is needed or replication between different versions of PostgreSQL for upgrading without downtime. These use-cases can be solved by logical replication. The traditional logical replication solutions for PostgreSQL are based on triggers which results in high impact on the write performance. That’s why we developed pglogical which is based on logical decoding of the write ahead log thus having minimal impact on the performance of the source database.

In this talk I will describe the current state of the pglogical project. I will cover use-cases that work well already, what are the limitations, future roadmap and also the state of integration of logical replication into PostgreSQL itself.


Petr Jelinek