Re: walsender performance regression due to logical decoding on standby changes

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: walsender performance regression due to logical decoding on standby changes
Дата
Msg-id 65f6ed98791399f4ce06ea1f760599b2dae3fb75.camel@j-davis.com
обсуждение исходный текст
Ответ на Re: walsender performance regression due to logical decoding on standby changes  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Wed, 2023-05-17 at 12:34 -0700, Andres Freund wrote:
> I understood Jeff's proposal to just have an early exit if there are
> no
> walsenders connected at all.

My suggestion was we early exit unless there is at least one *waiting*
walsender of the appropriate type. In other words, increment the
counter on entry to WalSndWait() and decrement on exit. I didn't look
in detail yet, so perhaps it's not easy/cheap to do that safely.

Regards,
    Jeff Davis




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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: walsender performance regression due to logical decoding on standby changes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PostgreSQL 16 Beta 1 release date