Re: Should we remove vacuum_defer_cleanup_age?

Поиск
Список
Период
Сортировка
Искать
От
Daniel Gustafsson
Тема
Re: Should we remove vacuum_defer_cleanup_age?
Дата
Msg-id
0DAF1BDA-EF76-44A2-8BD1-469D7590B2F9@yesql.se
Ответ на
Список
Дерево обсуждения
Should we remove vacuum_defer_cleanup_age? Andres Freund <andres@anarazel.de>
Re: Should we remove vacuum_defer_cleanup_age? Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Should we remove vacuum_defer_cleanup_age? Peter Geoghegan <pg@bowt.ie>
Re: Should we remove vacuum_defer_cleanup_age? Justin Pryzby <pryzby@telsasoft.com>
Re: Should we remove vacuum_defer_cleanup_age? Andres Freund <andres@anarazel.de>
Re: Should we remove vacuum_defer_cleanup_age? Daniel Gustafsson <daniel@yesql.se>
Re: Should we remove vacuum_defer_cleanup_age? Andres Freund <andres@anarazel.de>
Re: Should we remove vacuum_defer_cleanup_age? Daniel Gustafsson <daniel@yesql.se>
Re: Should we remove vacuum_defer_cleanup_age? Justin Pryzby <pryzby@telsasoft.com>
Re: Should we remove vacuum_defer_cleanup_age? Andres Freund <andres@anarazel.de>
Re: Should we remove vacuum_defer_cleanup_age? Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Should we remove vacuum_defer_cleanup_age? Andres Freund <andres@anarazel.de>
Re: Should we remove vacuum_defer_cleanup_age? Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Should we remove vacuum_defer_cleanup_age? Andres Freund <andres@anarazel.de>
Re: Should we remove vacuum_defer_cleanup_age? Robert Haas <robertmhaas@gmail.com>
RE: Should we remove vacuum_defer_cleanup_age? Phil Florent <philflorent@hotmail.com>
Re: Should we remove vacuum_defer_cleanup_age? Amit Kapila <amit.kapila16@gmail.com>
Re: Should we remove vacuum_defer_cleanup_age? "Jonathan S. Katz" <jkatz@postgresql.org>
Re: Should we remove vacuum_defer_cleanup_age? "Jonathan S. Katz" <jkatz@postgresql.org>
Re: Should we remove vacuum_defer_cleanup_age? Laurenz Albe <laurenz.albe@cybertec.at>
Re: Should we remove vacuum_defer_cleanup_age? Robert Haas <robertmhaas@gmail.com>
Re: Should we remove vacuum_defer_cleanup_age? "Jonathan S. Katz" <jkatz@postgresql.org>
Re: Should we remove vacuum_defer_cleanup_age? Greg Stark <stark@mit.edu>
Re: Should we remove vacuum_defer_cleanup_age? Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Should we remove vacuum_defer_cleanup_age? Laurenz Albe <laurenz.albe@cybertec.at>
Re: Should we remove vacuum_defer_cleanup_age? "Jonathan S. Katz" <jkatz@postgresql.org>
Re: Should we remove vacuum_defer_cleanup_age? Nathan Bossart <nathandbossart@gmail.com>
Re: Should we remove vacuum_defer_cleanup_age? Greg Stark <stark@mit.edu>
Re: Should we remove vacuum_defer_cleanup_age? Daniel Gustafsson <daniel@yesql.se>
Re: Should we remove vacuum_defer_cleanup_age? Magnus Hagander <magnus@hagander.net>
> On 24 Mar 2023, at 21:27, Andres Freund  wrote:
> On 2023-03-23 10:18:35 +0100, Daniel Gustafsson wrote:
>>> On 22 Mar 2023, at 18:00, Andres Freund  wrote:
>> 
>>> It wasn't actually that much work to write a patch to remove
>>> vacuum_defer_cleanup_age, see the attached.
>> 
>> -    and  provide protection against
>> +    provides protection against
>>     relevant rows being removed by vacuum, but the former provides no
>>     protection during any time period when the standby is not connected,
>>     and the latter often needs to be set to a high value to provide adequate
>> 
>> Isn't "the latter" in the kept part of the sentence referring to the guc we're
>> removing here?
> 
> You're right. That paragraph generally seems a bit off. In HEAD:
> 
> ...
> 
> Replication slots alone don't prevent row removal, that requires
> hot_standby_feedback to be used as well.
> 
> A minimal rephrasing would be:
>   
>    Similarly,  on its own, without
>    also using a replication slot, provides protection against relevant rows
>    being removed by vacuum, but provides no protection during any time period
>    when the standby is not connected.  Replication slots overcome these
>    disadvantages.
>   

+1, that's definitely an improvement.

--
Daniel Gustafsson



В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: David Rowley
Дата:
FAQ