Re: Postgres 9.2 pg_xlog cleanup - Mailing list pgsql-admin

From Raghu Ram
Subject Re: Postgres 9.2 pg_xlog cleanup
Date
Msg-id CALnrrJQE0eUvf-5Rg8nkFtWXS1rspYRyCqGvN44xM4OdNJotwQ@mail.gmail.com
Whole thread Raw
In response to Postgres 9.2 pg_xlog cleanup  (Marcello Lorenzi <mlorenzi@sorint.it>)
List pgsql-admin

On Wed, Nov 27, 2013 at 9:27 PM, Marcello Lorenzi <mlorenzi@sorint.it> wrote:

Hi All,
I'm installing a new Postgres 9.2 instance on my test environment and I noticed that the pg_xlog directory use a lot of space. I already configured the WAL but not the archiving for this datsa. Is it possible to implement a retention on pg_xlog data files?

 
WAL buffers holds the changes made to the database in the transaction logs(pg_xlogs), in order to guarantee transaction security. When a transaction commits,all transaction records are stored in to disk/permanent storage i.e Pg_xlog directory. 

I would request to monitor database server log file located under "pg_log" directory,may be archive command failing due to that .ready files are increasing under ../pg_xlog/archive_status directory and occupying more space. If you fix the archive command issues,then everything will comes under control.

Thanks & Regards
Raghu Ram


 

pgsql-admin by date:

Previous
From: Marcello Lorenzi
Date:
Subject: Postgres 9.2 pg_xlog cleanup
Next
From: Ray Stell
Date:
Subject: Re: Postgres 9.2 pg_xlog cleanup