Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog
От
Michael Paquier
Тема
Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog
Дата
Msg-id
CAB7nPqT8ucdLFR3ir==ocu5iDgzLFDqCHOXF=UpX25wpGKuubg@mail.gmail.com
Ответ на
Re: [HACKERS] Automatic cleanup of oldest WAL segments withpg_receivexlog (Peter Eisentraut)
Список
Дерево обсуждения
[HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments withpg_receivexlog Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog Magnus Hagander <magnus@hagander.net>
Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog Magnus Hagander <magnus@hagander.net>
Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments withpg_receivexlog Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog Magnus Hagander <magnus@hagander.net>
Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog Magnus Hagander <magnus@hagander.net>
Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments withpg_receivexlog Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments withpg_receivexlog Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments withpg_receivexlog Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments withpg_receivexlog Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments withpg_receivexlog Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog David Steele <david@pgmasters.net>
Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog Magnus Hagander <magnus@hagander.net>
Re: [HACKERS] Automatic cleanup of oldest WAL segments withpg_receivexlog Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments withpg_receivexlog Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments withpg_receivexlog Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog Magnus Hagander <magnus@hagander.net>
On Thu, Mar 9, 2017 at 10:54 PM, Peter Eisentraut wrote: > On 3/7/17 11:16, Robert Haas wrote: >> Well, if the problem you're trying to solve is "retain WAL for as long >> as possible without running out of disk space and having everything go >> kablooey", then it would solve that problem, and I think that's a very >> reasonable problem to want to solve. > > Could be. I'm not sure what that means for the presented patch, though. > Or whether it addresses Michael's original use case at all. The patch adding an end-segment command does address my problem, because I just want to be sure that there is enough space left on disk for one complete segment. And that's fine to check for that when the last segment is complete. This needs some additional effort but that's no big deal either. 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. -- Michael
В списке pgsql-hackers по дате отправления
От: Michael Paquier
Дата:
От: Michael Paquier
Дата: