PostgreSQL High Availability Cookbook

PostgreSQL High Availability Cookbook

Master over 100 recipes to design and implement a highly available server with the advanced features of PostgreSQL About This Book Create a PostgreSQL cluster that stays online even when disaster strikes Avoid costly downtime and data loss that can ruin your business Updated to include the newest features introduced in PostgreSQL 9.6 with hands-on industry-driven recipes Who This Book Is For 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, pglogical, and WAL-E Hardware planning to help your database run efficiently Prepare for catastrophes and prevent them before they happen Reduce database resource contention with connection pooling using pgpool and PgBouncer Automate monitoring and alerts to visualize cluster activity using Nagios and collected Construct a robust software stack that can detect and fix outages Learn simple PostgreSQL High Availability with Patroni, or dive into the full power of Pacemaker. In Detail Databases are nothing without the data they store. In the event of a failure - catastrophic or otherwise - immediate recovery is essential. By carefully combining multiple servers, it's even possible to hide the fact a failure occurred at all. From hardware selection to software stacks and horizontal scalability, this book will help you build a versatile PostgreSQL cluster that will survive crashes, resist data corruption, and grow smoothly with customer demand. It all begins with hardware selection for the skeleton of an efficient PostgreSQL database cluster. Then it's on to preventing downtime as well as troubleshooting some real life problems that administrators commonly face. Next, we add database monitoring to the stack, using collectd, Nagios, and Graphite. And no stack is complete without replication using multiple internal and external tools, including the newly released pglogical extension. Pacemaker or Raft consensus tools are the final piece to grant the cluster the ability to heal itself. We even round off by tackling the complex problem of data scalability. This book exploits many new features introduced in PostgreSQL 9.6 to make the database more efficient and adaptive, and most importantly, keep it running. Style and approach This book contains practical recipes that will help the reader solve real world problems related to high availability in PostgreSQL. Every recipe is explained in detail, with relevant explanations, tips and tricks provided for quicker and easier understanding.


Author
Publisher Packt Publishing Ltd
Release Date
ISBN 178712567X
Pages 536 pages
Rating 4/5 (74 users)

More Books:

PostgreSQL High Availability Cookbook
Language: en
Pages: 536
Authors: Shaun M. Thomas
Categories: Computers
Type: BOOK - Published: 2017-02-08 - Publisher: Packt Publishing Ltd

Master over 100 recipes to design and implement a highly available server with the advanced features of PostgreSQL About This Book Create a PostgreSQL cluster t
PostgreSQL 9 High Availability Cookbook
Language: en
Pages: 398
Authors: Shaun M. Thomas
Categories: Database management
Type: BOOK - Published: 2014-01-01 - Publisher:

A comprehensive series of dependable recipes to design, build, and implement a PostgreSQL server architecture free of common pitfalls that can operate for years
PostgreSQL 12 High Availability Cookbook
Language: en
Pages: 734
Authors: Shaun Thomas
Categories: Computers
Type: BOOK - Published: 2020-02-25 - Publisher: Packt Publishing Ltd

A comprehensive guide to understanding key techniques for architecture and hardware planning, monitoring, replication, backups, and decoupling Key FeaturesNewly
PostgreSQL 9 High Availability Cookbook
Language: en
Pages: 398
Authors: Shaun
Categories: Computers
Type: BOOK - Published: 2014-07-17 - Publisher: Packt Pub Limited

A comprehensive series of dependable recipes to design, build, and implement a PostgreSQL server architecture free of common pitfalls that can operate for years
Postgresql 9 Administration Cookbook Lite
Language: en
Pages: 104
Authors: Simon Riggs
Categories: Computers
Type: BOOK - Published: 2011-04-01 - Publisher: Packt Publishing Ltd

In Detail PostgreSQL is a powerful, open source, enterprise database. This PostgreSQL 9 Administration Cookbook LITE book describes key aspects of the PostgreSQ
PostgreSQL Replication
Language: en
Pages: 322
Authors: Hans-Jürgen Schönig
Categories: Computers
Type: BOOK - Published: 2015-07-28 - Publisher: Packt Publishing Ltd

PostgreSQL offers a comprehensive set of replication related features. Unleashing the power of PostgreSQL provides you with countless opportunities and a compet
PostgreSQL Server Programming - Second Edition
Language: en
Pages: 320
Authors: Usama Dar
Categories: Computers
Type: BOOK - Published: 2015-02-26 - Publisher: Packt Publishing Ltd

This book is for moderate to advanced PostgreSQL database professionals who wish to extend PostgreSQL, utilizing the most updated features of PostgreSQL 9.4. Fo
Exploring the Role of ICTs in Healthy Aging
Language: en
Pages: 292
Authors: Mendes, David
Categories: Medical
Type: BOOK - Published: 2020-05-31 - Publisher: IGI Global

Technological innovation continues to be present in all areas of our lives, offering seemingly endless possibilities. As technology is increasingly implemented
PostgreSQL 13 Cookbook
Language: en
Pages: 344
Authors: Vallarapu Naga Avinash Kumar
Categories: Computers
Type: BOOK - Published: 2021-02-26 - Publisher: Packt Publishing Ltd

Get to grips with building reliable, scalable, and maintainable database solutions for enterprises and production databases Key FeaturesImplement PostgreSQL 13
Developing Modern Database Applications with PostgreSQL
Language: en
Pages: 440
Authors: Dr. Quan Ha Le
Categories: Computers
Type: BOOK - Published: 2021-08-13 - Publisher: Packt Publishing Ltd

Get up to speed with core PostgreSQL tasks such as database administration, application development, database performance monitoring, and database testing Key F