Re: WAL shipping and ever expanding pg_xlog - Mailing list pgsql-performance

From Michael Dengler
Subject Re: WAL shipping and ever expanding pg_xlog
Date
Msg-id e8733d090706130644m471b8690m9998ba2d30f6f747@mail.gmail.com
Whole thread Raw
In response to WAL shipping and ever expanding pg_xlog  ("Michael Dengler" <michael.dengler@gmail.com>)
Responses Re: WAL shipping and ever expanding pg_xlog
List pgsql-performance
OK....it looks like the slave machine has run out of space and that caused the xlog files to pile up on the master.

Still...how do I prevent such all of the shipped WAL segments from remaining on the slave machine? Do I need to retain every single one? Can they be safely removed after the slave machine has restored the particular segment?

Thanks

Mike


On 6/13/07, Michael Dengler <michael.dengler@gmail.com> wrote:
Hi,

I'm doing WAL shipping to do a warm standby system (8.2.4).

The problem is that the pg_xlog dir on the master just gets bigger and bigger (never seems to truncate) and the corresponding archive directory on the slave also gets bigger and bigger. Is there a way to moderate this?

Thanks

Mike


pgsql-performance by date:

Previous
From: "Michael Dengler"
Date:
Subject: WAL shipping and ever expanding pg_xlog
Next
From: Vivek Khera
Date:
Subject: Re: Best use of second controller with faster disks?