PostgreSQL 9 High Availability Cookbook
暫譯: PostgreSQL 9 高可用性食譜

Shaun M. Thomas

商品描述

Over 100 recipes to design and implement a highly available server with the advanced features of PostgreSQL

Overview

  • Create a PostgreSQL cluster that stays online even when disaster strikes
  • Avoid costly downtime and data loss that can ruin your business
  • Perform data replication and monitor your data with hands-on industry-driven recipes and detailed step-by-step explanations

In Detail

PostgreSQL, often known as simply "Postgres", is an object-relational database management system (ORDBMS) with an emphasis on extensibility and standards-compliance.

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. We start with selecting the necessary hardware to handle multiple failure scenarios with redundancy. Then, we discuss how to automate and visualize these checks with Nagios, check_mk, and Graphite. We'll finally round off by tackling the complex problem of data scalability.

What you will learn from this book

  • 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

Approach

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.

Who this book is written 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.

商品描述(中文翻譯)

超過 100 個配方,設計和實現具有 PostgreSQL 先進功能的高可用性伺服器

概述

- 創建一個即使在災難發生時也能保持在線的 PostgreSQL 集群
- 避免昂貴的停機時間和可能毀掉您業務的數據損失
- 通過實用的行業驅動配方和詳細的逐步解釋來執行數據複製和監控您的數據

詳細內容

PostgreSQL,通常簡稱為「Postgres」,是一種物件關聯資料庫管理系統(ORDBMS),強調可擴展性和標準遵循。

從硬體選擇到軟體堆疊和橫向擴展,本書將幫助您建立一個多功能的 PostgreSQL 集群,能夠在崩潰中生存、抵抗數據損壞,並隨著客戶需求平穩增長。我們首先選擇必要的硬體,以處理多種故障情境並提供冗餘。接著,我們討論如何使用 Nagios、check_mk 和 Graphite 自動化和可視化這些檢查。最後,我們將解決數據可擴展性的複雜問題。

您將從本書中學到什麼

- 使用 PostgreSQL 複製和管理工具(如 Slony、Bucardo 和 Londiste)來保護您的數據
- 選擇正確的硬體以實現冗餘和擴展
- 為災難做好準備,並在災難發生之前防止它們
- 通過連接池減少資料庫資源競爭
- 自動化監控和警報,以使用 Nagios 和 collectd 可視化集群活動
- 構建一個穩健的軟體堆疊,能夠檢測和修復故障
- 設計一個可擴展的架構,以處理數十億的查詢

方法

一系列全面可靠的配方,設計、構建和實現一個不易出現常見陷阱的 PostgreSQL 伺服器架構,能夠運行多年。每一章都充滿了簡化即使是高度複雜的資料庫操作的指示和範例。

本書的讀者對象

如果您是一位在 Linux 系統上工作的 PostgreSQL DBA,想要一個永不放棄的資料庫,那麼這本書就是為您而寫。如果您曾經經歷過資料庫故障、從備份中恢復、花費數小時修復故障的集群,或只是想保證系統穩定性,那麼這本書絕對適合您。