Re: how to truncate/purge the pg_xlog directory?

From: Richard Huxton <dev(at)archonet(dot)com>
To: tfinneid(at)student(dot)matnat(dot)uio(dot)no
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: how to truncate/purge the pg_xlog directory?
Date: 2007-10-12 14:05:32
Message-ID: 470F7F2C.6080206@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

tfinneid(at)student(dot)matnat(dot)uio(dot)no wrote:
>> As checkpoints are issued, old WAL files will either be recycled
>> (renamed) or deleted. Change the setting, then try (as user postgres)
>> issuing a "vacuum full <tbl>" followed by "SELECT pg_switch_xlog()" that
>> should recycle them quicker. That'll only get you down to 3 or 4 files
>> though - that's the minimum.
>
> Nothings changed yet, maybe I need to start using the db again before I
> something real happens...

The timestamps on the WAL files should be updated if they get recycled.
Check those.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2007-10-12 14:16:30 Re: Out of memory with ODBC
Previous Message Relyea, Mike 2007-10-12 13:53:05 Out of memory with ODBC