pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: David F. Skoll <dfs@roaringpenguin.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: Warm-standby robustness question
Date: Fri, 28 Dec 2007 13:11:16 -0300
Message-ID: <20071228161116.GB7821@alvh.no-ip.org> (raw)
In-Reply-To: <4774C3EA.EE98.0025.0@wicourts.gov>
References: <3149.1198004157@sss.pgh.pa.us>
	<4774C3EA.EE98.0025.0@wicourts.gov>

Kevin Grittner wrote:
> >>> On Tue, Dec 18, 2007 at 12:55 PM, in message <3149.1198004157@sss.pgh.pa.us>,
> Tom Lane <tgl@sss.pgh.pa.us> wrote: 
> > "David F. Skoll" <dfs@roaringpenguin.com> writes:
> >> My question is this:  If the master database is fairly busy, gets
> >> VACUUMed once a day, etc. can we expect the warm standby server
> >> to work correctly after days/weeks/months/years of log shipping,
> >> or should we periodically take new base backups?
> > 
> > I don't think the time period is at issue.  Log-shipping should keep the
> > slave a perfect replica of the master (if it doesn't, we have problems
> > anyway).
>  
> Except for hint bits.  This becomes more of a post-recovery
> performance issue as the base backup ages, since they are included
> in base backups, but not in WAL files.

But hint bits should be replicated on the next full-page-write anyhow,
no?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



view thread (4+ messages)

Message-ID: <20071228161116.GB7821@alvh.no-ip.org>
Permalink:  ../20071228161116.GB7821@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20071228161116.GB7821@alvh.no-ip.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: alvherre@commandprompt.com, Kevin.Grittner@wicourts.gov, dfs@roaringpenguin.com, tgl@sss.pgh.pa.us
  Subject: Re: Warm-standby robustness question
  In-Reply-To: <20071228161116.GB7821@alvh.no-ip.org>
  References: <3149.1198004157@sss.pgh.pa.us> <4774C3EA.EE98.0025.0@wicourts.gov> <20071228161116.GB7821@alvh.no-ip.org>

* 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