Re: Reducing excess files in pg_xlog

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thom Brown <thombrown(at)gmail(dot)com>
Cc: Greg Smith <greg(at)2ndquadrant(dot)com>, PGSQL Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Reducing excess files in pg_xlog
Date: 2010-03-22 16:47:44
Message-ID: 22416.1269276464@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thom Brown <thombrown(at)gmail(dot)com> writes:
> I've just forced a new WAL file by writing lots of stuff to a table, then
> deleting it. It appears to be recyling the filenames now. The latest files
> end in DD and DE, and the earliest is DF. Presumably these will slowly get
> eaten up until it's just down to the 3 files I've configured it for?

The expected steady state is something like 2*checkpoint_segments+1
files. See docs.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris Barnes 2010-03-22 16:58:49 Create a function that updates the record with and timestamps
Previous Message Thom Brown 2010-03-22 16:37:01 Re: Reducing excess files in pg_xlog