From: Tom Lane <tgl@sss.pgh.pa.us>
To: Benjamin Krajmalnik <kraj@servoyant.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: General queston on getting rid of unused WAL files
Date: Tue, 08 Jan 2013 21:16:40 -0500
Message-ID: <8318.1357697800@sss.pgh.pa.us> (raw)
In-Reply-To: <F4E6A2751A2823418A21D4A160B6898892B7EC@fletch.stackdump.local>
References: <F4E6A2751A2823418A21D4A160B6898892B7EC@fletch.stackdump.local>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
"Benjamin Krajmalnik" <kraj@servoyant.com> writes:
> Looking at pg_xlogs, I see that postgres is sequentially reusing all of
> the available WAL files, while looking at the log file, it is recycling
> approximately 70-80 files every checkpoint, but it is not removing any
> files.
[ squint... ] It should be removing those files until it gets under
approximately 2 * checkpoint_segments WAL files. So, what have you
got checkpoint_segments set to?
regards, tom lane
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, kraj@servoyant.com
Subject: Re: General queston on getting rid of unused WAL files
In-Reply-To: <8318.1357697800@sss.pgh.pa.us>
* 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