Re: WAL archiving and deletion of the WAL segments

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alan Hodgson <ahodgson(at)simkin(dot)ca>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: WAL archiving and deletion of the WAL segments
Date: 2006-04-10 16:43:26
Message-ID: 26901.1144687406@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alan Hodgson <ahodgson(at)simkin(dot)ca> writes:
> On April 10, 2006 09:28 am, "Just Someone" <just(dot)some(at)gmail(dot)com> wrote:
>> So my question is: Is what I'm seeing meaning the WAL archiving is
>> working? Or should I expect the file to be deleted?

> If the file is showing up in your archive target location, it's working.
> The file will remain in the pg_xlog directory for some time, and then
> eventually be recycled.

I'd expect the file to be renamed or deleted at the next checkpoint, so
"eventually" is not very long, unless you've increased the checkpoint
spacing parameters quite a lot ...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tyler MacDonald 2006-04-10 18:40:11 Re: Debian package for freeradius_postgresql module
Previous Message Alan Hodgson 2006-04-10 16:37:01 Re: WAL archiving and deletion of the WAL segments