PostgreSQL Replication - Second Edition

Book Description

Leverage the power of PostgreSQL replication to make your databases more robust, secure, scalable, and fast

In Detail

PostgreSQL offers a comprehensive set of replication - related features. Unleashing the power of PostgreSQL provides you with countless opportunities and a competitive advantage over other database systems.

This book will guide you through the most important concepts of PostgreSQL replication. It contains all the information you need to design and operate replicated setups.

Beginning by giving you an understanding of replication concepts, the PostgreSQL transaction log, and Point-in-time Recovery, we gradually move on to setting up asynchronous and synchronous replication. Next up, you will learn to monitor a PostgreSQL cluster setup, deal with monitoring tools, and then move on to understanding Linux High Availability. Further, we explore widely-used tools such as Slony, SkyTools, Postgres-XC, and walbouncer, and set up PL/Proxy.

Finally, you'll get acquainted with the new technology of BDR, which allows bidirectional replication in PostgreSQL.

What You Will Learn

Use Point-in-time Recovery to perform data recovery as well as replication

Set up synchronous as well as asynchronous streaming replication

Get familiarized with the transaction log, the core component of most replication setups and its purpose

Improve speed and reliability with an understanding of pgpool and PgBouncer

Increase your data security and geographically distribute data

Make your systems more available and secure with Linux High Availability

Scale out with PL/Proxy and Postgres-XC

Detect, investigate, and solve replication-related problems

Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.