Re: New IndexAM API controlling index vacuum strategies

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: New IndexAM API controlling index vacuum strategies
Дата
Msg-id CAH2-WzmXeJJhafhn8smfNOMYOr4MTtz=DAHJeAHhviRdz7-+cA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: New IndexAM API controlling index vacuum strategies  (Andres Freund <andres@anarazel.de>)
Ответы Re: New IndexAM API controlling index vacuum strategies
Список pgsql-hackers
On Mon, Apr 5, 2021 at 5:00 PM Andres Freund <andres@anarazel.de> wrote:
> What do you mean with "appear to work"? Isn't, in 13, the only
> consequence of vac_strategy not being "propagated" that we'll not use a
> strategy in parallel workers?  Presumably that was hard to notice
> because most people don't run manual VACUUM with cost limits turned
> on. And autovacuum doesn't use parallelism.

Oh yeah. "static BufferAccessStrategy vac_strategy" is guaranteed to
be initialized to 0, simply because it's static and global. That
explains it.


-- 
Peter Geoghegan



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: New IndexAM API controlling index vacuum strategies
Следующее
От: "osumi.takamichi@fujitsu.com"
Дата:
Сообщение: RE: Stronger safeguard for archive recovery not to miss data