Time: 
2017-05-06 15:30 to 2017-05-06 16:30
Room: 
HC-103

Experience level

Learner

Logical Replication in PostgreSQL

While physical replication in PostgreSQL works well and has good performance, there are many use-cases where it is not a 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 have a high impact on write performance. That’s why pglogical was developed, 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.

  • Attendees should be familiar with the subject of database replication
  • Attendees will learn what the current state of the art is with logical replication with PostgreSQL and what is on the immediate development roapmap