Re: Seems like a large amount of xlog files - Mailing list pgsql-admin

From Fujii Masao
Subject Re: Seems like a large amount of xlog files
Date
Msg-id BANLkTi=5k=cgCVAaB8M4gj_eJSTTAuctLA@mail.gmail.com
Whole thread Raw
In response to Seems like a large amount of xlog files  (Michael Holt <michael@aers.ca>)
List pgsql-admin
CC to pgsql-admin@postgresql.org

On Wed, May 25, 2011 at 5:10 PM, Michael Holt <michael@aers.ca> wrote:
> archive_timeout is not set. The default is to have it off right?

Yes.

My another guess is that those many files were generated by
initial data load and have remained up to now. No?

Anyway, you can check whether your system is still generating
so many WAL files now, by periodically calling
pg_current_xlog_location(). This function returns the current
WAL write location, so if the rate of increase of that location
is small, you don't need to worry about the number of files.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

pgsql-admin by date:

Previous
From: Marcelo Leite
Date:
Subject: Re: How to remove conflicts when installing postgres where some other installation of postgres is already running using silent installer
Next
From: Mario Splivalo
Date:
Subject: COMMIT takes long time for read only transaction