Re: pg_archivecleanup should remove WAL files also in pg_xlog?

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_archivecleanup should remove WAL files also in pg_xlog?
Date: 2010-12-13 07:28:17
Message-ID: 4D05CB11.9080104@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 13.12.2010 08:44, Fujii Masao wrote:
> pg_archivecleanup removes unnecessary WAL files from the archive, but not
> from pg_xlog directory. So, after failover, those WAL files might
> exist in pg_xlog and be archived again later.

A file that has already been archived successfully should not be
archived again. The server keeps track of which files it has already
archived with the .ready/.done files.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message tv 2010-12-13 07:32:29 Re: proposal : cross-column stats
Previous Message Pavel Stehule 2010-12-13 07:23:59 Re: proposal: auxiliary functions for record type