pg_upgrade and rsync - Mailing list pgsql-hackers

From Bruce Momjian
Subject pg_upgrade and rsync
Date
Msg-id 20150122192051.GJ27749@momjian.us
Whole thread Raw
Responses Re: pg_upgrade and rsync
Re: pg_upgrade and rsync
List pgsql-hackers
It is possible to upgrade on pg_upgrade on streaming standby servers by
making them master servers, running pg_upgrade on them, then shuting
down all servers and using rsync to make the standby servers match the
real master.

However, Josh Berkus reported that he found that hint bits set on the
master server but not on the standby servers made rsync too slow.

The attached pg_upgrade doc patch recommends using wal_log_hints to make
hint bits on the standby match the master.  One question I have is
whether hint bits are set by read-only transactions on standby servers.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: basebackups during ALTER DATABASE ... SET TABLESPACE ... not safe?
Next
From: Jim Nasby
Date:
Subject: Re: Proposal: knowing detail of config files via SQL