A comprehensive series of dependable recipes to design, build, and implement a PostgreSQL server architecture free of common pitfalls that can operate for years to come. Each chapter is packed with instructions and examples to simplify even highly complex database operations. If you are a PostgreSQL DBA working on Linux systems who want a database that never gives up, this book is for you. If you've ever experienced a database outage, restored from a backup, spent hours trying to repair a malfunctioning cluster, or simply want to guarantee system stability, this book is definitely for you.
What you will learn
Protect your data with PostgreSQL replication and management tools such as Slony, Bucardo, and Londiste
Choose the correct hardware for redundancy and scale
Prepare for catastrophes and prevent them before they happen
Reduce database resource contention with connection pooling
Automate monitoring and alerts to visualize cluster activity using Nagios and collectd
Construct a robust software stack that can detect and fix outages
Design a scalable schema architecture to handle billions of queries