Re: Allow wal_keep_segments to keep all segments - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Allow wal_keep_segments to keep all segments
Date
Msg-id 1275507413.21465.2825.camel@ebony
Whole thread Raw
In response to Allow wal_keep_segments to keep all segments  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Allow wal_keep_segments to keep all segments  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On Wed, 2010-06-02 at 15:20 -0400, Bruce Momjian wrote:

> The attached patch allows wal_keep_segments = -1 to keep all segements; 
> this is particularly useful for taking a base backup, where you need all
> the WAL files during startup of the standby.  I have documented this
> usage in the patch as well.
> 
> I am thinking of applying this after 9.0 beta2 if there is no objection.

It's not clear to me why "keep all files until server breaks" is a good
setting. Surely you would set this parameter to the size of your disk.
Why allow it to go higher?

-- Simon Riggs           www.2ndQuadrant.com



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Allow wal_keep_segments to keep all segments
Next
From: Dimitri Fontaine
Date:
Subject: Re: "caught_up" status in walsender