Re: Almost full pg_xlog/

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Ross <jross(at)wykids(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Almost full pg_xlog/
Date: 2011-02-01 00:14:01
Message-ID: 11241.1296519241@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jeff Ross <jross(at)wykids(dot)org> writes:
> In the meantime, I now have 242 16MB files in pg_xlog/. The
> archive_status directory in pg_xlog/has a matching .done file for all
> but the most recent of those pg_xlog files.

What have you got checkpoint_segments set to?

> Am I correct in thinking that I can delete most if not all of the
> pg_xlog/ files that have a matching .done entry in
> pg_xlog/archive_status/ ? Or is there a better way?

The system should be removing them for itself once there are too many.
Trying to remove them manually is a good recipe for creating trouble.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thom Brown 2011-02-01 00:15:06 Issues with generate_series using integer boundaries
Previous Message Jeff Ross 2011-01-31 23:32:16 Almost full pg_xlog/