Leverage the power of PostgreSQL replication to make your databases more robust, secure, scalable, and fast
This book is ideal for PostgreSQL administrators who want to set up and understand replication. By the end of the book, you will be able to make your databases more robust and secure by getting to grips with PostgreSQL replication.
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.
Chapter 1: Understanding Concepts of Replication
Chapter 2: Understanding the PostgreSQL Transaction Log
Chapter 3: Understanding Point-in-time Recovery
Chapter 4: Setting Up Asynchronous Replication
Chapter 5: Setting Up Synchronous Replication
Chapter 6: Monitoring Your Setup
Chapter 7: Understanding Linux High Availability
Chapter 8: Working with PgBouncer
Chapter 9: Working with pgpool
Chapter 10: Configuring Slony
Chapter 11: Using SkyTools
Chapter 12: Working with Postgres-XC
Chapter 13: Scaling with PL/Proxy
Chapter 14: Scaling with BDR
Chapter 15: Working with Walbouncer