pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Pgsql-Admin (E-mail) <pgsql-admin@postgresql.org>
Subject: Re: Can I delete all WAL logfiles if the database is
Date: Tue, 07 Mar 2006 16:11:15 +0100
Message-ID: <1141744275.7408.1.camel@localhost> (raw)
In-Reply-To: <18484.1141744059@sss.pgh.pa.us>
References: <A3D1526C98B7C1409A687E0943EAC4107DEB44@obelix.askesis.nl>
	<18484.1141744059@sss.pgh.pa.us>

Hi Tom,

On Tue, 2006-03-07 at 10:07 -0500, Tom Lane wrote:
> "Joost Kraaijeveld" <J.Kraaijeveld@Askesis.nl> writes:
> > Can I safely delete all the WAL log files in PGDATA/pg_xlog directory if the database has been shut down correctly, because I lowered the number of logfiles in postgresql.conf?
> 
> All but the one holding the latest checkpoint record (pg_controldata
> will tell you which one that is).  I'm not sure why you'd bother though.
> The next checkpoint should remove any excess log files, there's no need
> to do it manually.
Ah, I did not know that. I will wait and do nothing. 

Thanks

-- 
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: J.Kraaijeveld@Askesis.nl
web: www.askesis.nl




view thread (3+ messages)

Message-ID: <1141744275.7408.1.camel@localhost>
Permalink:  ../1141744275.7408.1.camel@localhost/
Also on:    postgresql.org/message-id/1141744275.7408.1.camel@localhost

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: J.Kraaijeveld@Askesis.nl, tgl@sss.pgh.pa.us
  Subject: Re: Can I delete all WAL logfiles if the database is
  In-Reply-To: <1141744275.7408.1.camel@localhost>
  References: <A3D1526C98B7C1409A687E0943EAC4107DEB44@obelix.askesis.nl> <18484.1141744059@sss.pgh.pa.us> <1141744275.7408.1.camel@localhost>

* 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