Re: Almost full pg_xlog/ - Mailing list pgsql-general

From Tom Lane
Subject Re: Almost full pg_xlog/
Date
Msg-id 11241.1296519241@sss.pgh.pa.us
Whole thread Raw
In response to Almost full pg_xlog/  (Jeff Ross <jross@wykids.org>)
Responses Re: Almost full pg_xlog/  (Jeff Ross <jross@wykids.org>)
List pgsql-general
Jeff Ross <jross@wykids.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

pgsql-general by date:

Previous
From: Jeff Ross
Date:
Subject: Almost full pg_xlog/
Next
From: Thom Brown
Date:
Subject: Issues with generate_series using integer boundaries