Re: Automatic cleanup of oldest WAL segments with pg_receivexlog

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Automatic cleanup of oldest WAL segments with pg_receivexlog
Date: 2017-03-10 14:15:43
Message-ID: b7298397-72db-2e27-f356-53801a117c3c@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 3/9/17 17:03, Michael Paquier wrote:
> Having something like --limit-retained-segments partially addresses
> it, as long as there is a way to define an automatic mode, based on
> statvfs() obviously.

But that is not portable/usable enough, as we have determined, I think.

Have you looked into using inotify for implementing your use case?

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2017-03-10 14:16:45 Re: Re: proposal - psql: possibility to specify sort for describe commands, when size is printed
Previous Message Peter Eisentraut 2017-03-10 14:10:08 Re: Re: proposal - psql: possibility to specify sort for describe commands, when size is printed