pg.ddx.io pgsql-testers@postgresql.org mailing list archive
help / color / mirror / Atom feedDocumentation/Cleanup Command for Hot Standby
2+ messages / 2 participants
[nested] [flat]
* Documentation/Cleanup Command for Hot Standby
@ 2010-03-11 13:19 Chander Ganesan <chander@otg-nc.com>
0 siblings, 1 reply; 2+ messages in thread
From: Chander Ganesan @ 2010-03-11 13:19 UTC (permalink / raw)
To: pgsql-testers
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...
--
Chander Ganesan
Open Technology Group, Inc.
One Copley Parkway, Suite 210
Morrisville, NC 27560
919-463-0999/877-258-8987
http://www.otg-nc.com
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Documentation/Cleanup Command for Hot Standby
@ 2010-03-11 18:44 Josh Berkus <josh@agliodbs.com>
parent: Chander Ganesan <chander@otg-nc.com>
0 siblings, 0 replies; 2+ messages in thread
From: Josh Berkus @ 2010-03-11 18:44 UTC (permalink / raw)
To: Chander Ganesan <chander@otg-nc.com>; +Cc: pgsql-testers
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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2010-03-11 18:44 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-03-11 13:19 Documentation/Cleanup Command for Hot Standby Chander Ganesan <chander@otg-nc.com>
2010-03-11 18:44 ` Josh Berkus <josh@agliodbs.com>
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