PostgreSQL The Hard Way
summary
Upgrades PostgreSQL 9.2 to 9.4 across seven clusters (37 servers, largest 667 GB) aiming for four‑hour maintenance windows by using PG upgrade with hard links, then rsync --size-only to copy only changed files to slaves, plus PG_START_BACKUP to avoid recovery traps. Tests take six weeks and reveal rsync hard‑link ordering issues with nonstandard mount points, config‑management drift, one slow slave, and two failed disks on the day; outcome: most clusters finish within windows but rebuild stale slaves if possible.
AI-written summary · about
chapters (4)
related talks
26mMastering Large-Scale PostgreSQL Migration
50mAn ultimate guide to upgrading your PostgreSQL installation
46mAn ultimate guide to upgrading your PostgreSQL installation
01h 01mAlways Online or Bust
01h 41mPostgreSQL Upgrades with Logical Replication & Minimal Downtime
32mPostgreSQL Major Upgrades: Swapping the Elephant Without Breaking the Room
36mHow to Upgrade Replication Clusters without Downtime?
51mHeavy Duty Backup w/PgBackRest
