pg.ddx.io  pgsql-testers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Chander Ganesan <chander@otg-nc.com>
Cc: pgsql-testers@postgresql.org
Subject: Re: Documentation/Cleanup Command for Hot Standby
Date: Thu, 11 Mar 2010 10:44:35 -0800
Message-ID: <4B993A13.9070506@agliodbs.com> (raw)
In-Reply-To: <4B98EDF9.1020800@otg-nc.com>
References: <4B98EDF9.1020800@otg-nc.com>

On 3/11/10 5:19 AM, Chander Ganesan wrote:
> Hi,
> 
> I've been reviewing HS/SR and have a couple of thoughts/notes:
> 
> - The recovery_done_command is not documented (that I can find, at
> least) in the documentation.
> - There is (presently) no way to have PostgreSQL's standby node "clean
> up" unneeded WAL files (the %r parameter for archive_command).  I saw
> some talk about adding a 'archive_cleanup_command' to recovery.conf, but
> that doesn't seem to work (yet).  I think this should be listed as a
> to-do item on the wiki for this application (or if it was added after
> the alpha4 release, noted as a completed item.)  Without a way to
> cleanup archives, the wal archive could end up getting very large, and
> even fill up the file system it is on...

Yes, a lot of this is going to be very manual for 9.0.  I'm working on
documentation on how you can decide what to delete via cron job.

--Josh Berkus



view thread (2+ messages)

Message-ID: <4B993A13.9070506@agliodbs.com>
Permalink:  ../4B993A13.9070506@agliodbs.com/
Also on:    postgresql.org/message-id/4B993A13.9070506@agliodbs.com

 · 

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-testers@postgresql.org
  Cc: josh@agliodbs.com, chander@otg-nc.com
  Subject: Re: Documentation/Cleanup Command for Hot Standby
  In-Reply-To: <4B993A13.9070506@agliodbs.com>
  References: <4B98EDF9.1020800@otg-nc.com> <4B993A13.9070506@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