Re: Warm-standby robustness question - Mailing list pgsql-admin

From Alvaro Herrera
Subject Re: Warm-standby robustness question
Date
Msg-id 20071228161116.GB7821@alvh.no-ip.org
Whole thread Raw
In response to Re: Warm-standby robustness question  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: reconfiguring diskspace while upgrading to 8.2.5
Next
From: "Usama Dar"
Date:
Subject: Re: Fresh copy of a PG DB ?