pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Josh Berkus <josh@agliodbs.com>
To: pgsql-hackers@postgresql.org
Subject: Re: time-delayed standbys
Date: Wed, 29 Jun 2011 18:55:53 -0700
Message-ID: <4E0BD7A9.2050307@agliodbs.com> (raw )
In-Reply-To: <BANLkTi=33oiYV36cM_nOW7_Pi3t4E=P32g@mail.gmail.com >
References: <BANLkTi==TTzHDqWzwJDjmOf__8YuA7L1jw@mail.gmail.com >
<BANLkTi=QScpDTkUw3iw6JaO15uUvx_P4qg@mail.gmail.com >
<BANLkTimarB9eLhHpW73ja2oGvCaWNQuD6g@mail.gmail.com >
<BANLkTi=hR3vGUDX-SQf=nFcL9ycmrQ6Fcg@mail.gmail.com >
<BANLkTikPdjn98yjSR-VYywyjMe64wdrdDQ@mail.gmail.com >
<26007.1303309175@sss.pgh.pa.us >
<BANLkTikqGottQvyBzrXsARkaWMB2OEMGEA@mail.gmail.com >
<27149.1303312506@sss.pgh.pa.us >
<BANLkTin=22tyhK5zaNm7Nt-Q+MHcsNHdLg@mail.gmail.com >
<BANLkTikFhVOhmf_XKERe=MkU3Ht_K7posQ@mail.gmail.com >
<BANLkTi=COgk+8cieWxhM7YN9guYXOrDb_g@mail.gmail.com >
<BANLkTingeD+XrxN-gDv0pzUMHrPcHWSF+A@mail.gmail.com >
<BANLkTim8rKuUbDP=TxWmtfvZk8C1vmgmsw@mail.gmail.com >
<BANLkTi=ufQk9i2Ria1U-c0VDUMUNxKjPgg@mail.gmail.com >
<BANLkTi=33oiYV36cM_nOW7_Pi3t4E=P32g@mail.gmail.com >
On 6/29/11 11:11 AM, Robert Haas wrote:
> If the standby gets far enough behind the master that the required
> files are no longer there, then it will switch to the archive, if
> available.
One more thing:
As I understand it (and my testing shows this), the standby *prefers*
the archive logs, and won't switch to streaming until it reaches the end
of the archive logs. This is desirable behavior, as it minimizes the
load on the master.
--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com
view thread (114+ messages) latest in thread
Message-ID: <4E0BD7A9.2050307@agliodbs.com>
Permalink: ../4E0BD7A9.2050307@agliodbs.com/
Also on: postgresql.org/message-id/4E0BD7A9.2050307@agliodbs.com
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: josh@agliodbs.com
Subject: Re: time-delayed standbys
In-Reply-To: <4E0BD7A9.2050307@agliodbs.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox