Re: Automatic cleanup of oldest WAL segments with pg_receivexlog

From: David Steele <david(at)pgmasters(dot)net>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, 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-21 16:56:50
Message-ID: 4c5dca2c-a264-230d-cb44-38f4e1a874f5@pgmasters.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Michael,

On 3/10/17 9:15 AM, Peter Eisentraut wrote:
> 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?

This thread has been idle for quite a while. Please respond and/or post
a new patch by 2017-03-24 00:00 AoE (UTC-12) or this submission will be
marked "Returned with Feedback".

Thanks,
--
-David
david(at)pgmasters(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-03-21 17:04:14 Re: Patch: Write Amplification Reduction Method (WARM)
Previous Message Bruce Momjian 2017-03-21 16:49:49 Re: Patch: Write Amplification Reduction Method (WARM)