Skip to Main Content
PostgreSQL 9 Administration Cookbook - Second Edition
book

PostgreSQL 9 Administration Cookbook - Second Edition

by Simon Riggs, GIANNI CIOLLI, Hannu Krosing, Gabriele Bartolini
April 2015
Intermediate to advanced content levelIntermediate to advanced
504 pages
11h 41m
English
Packt Publishing
Content preview from PostgreSQL 9 Administration Cookbook - Second Edition

Logical Replication

Logical Replication allows us to stream logical data changes between two nodes. By logical, we mean streaming changes without referring to specific physical attributes such as block number and row ID.

The main benefits of Logical Replication are as follows:

  • Performance is roughly two times better than that of the best trigger-based mechanisms
  • Selective replication is supported, so we don't need to replicate the entire database
  • Replication can occur between different major releases (PostgreSQL 9.4 onwards), which can allow a zero-downtime upgrade

PostgreSQL 9.4 provides a feature called Logical Decoding. This allows you to stream a set of changes out of a master server. This allows a master to become a sending node in Logical Replication. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

PostgreSQL 10 Administration Cookbook - Fourth Edition

PostgreSQL 10 Administration Cookbook - Fourth Edition

Simon Riggs, Gianni Ciolli
Mastering PostgreSQL 10

Mastering PostgreSQL 10

Hans-Jürgen Schönig

Publisher Resources

ISBN: 9781849519069Supplemental Content