Re: Should vacuum process config file reload more often

Поиск
Список
Период
Сортировка
От Kyotaro Horiguchi
Тема Re: Should vacuum process config file reload more often
Дата
Msg-id 20230329.132155.629765142788133576.horikyota.ntt@gmail.com
обсуждение исходный текст
Ответ на Re: Should vacuum process config file reload more often  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Ответы Re: Should vacuum process config file reload more often  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Re: Should vacuum process config file reload more often  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Список pgsql-hackers
At Wed, 29 Mar 2023 12:09:08 +0900 (JST), Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote in 
> timeing perfectly. I think we might accidentally add a reload
> timing. In that case, the assumption could break. In most cases, I
> think we use snapshotting in various ways to avoid unintended variable
> changes. (And I beilieve the analyze code also does that.)

Okay, I was missing the following code.

autovacuum.c:2893
        /*
         * If any of the cost delay parameters has been set individually for
         * this table, disable the balancing algorithm.
         */
        tab->at_dobalance =
            !(avopts && (avopts->vacuum_cost_limit > 0 ||
                         avopts->vacuum_cost_delay > 0));

So, sorry for the noise. I'll review it while this into cnosideration.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Data is copied twice when specifying both child and parent table in publication
Следующее
От: "Hayato Kuroda (Fujitsu)"
Дата:
Сообщение: RE: doc: add missing "id" attributes to extension packaging page