Re: Wait events for delayed checkpoints

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: Wait events for delayed checkpoints
Дата
Msg-id CA+hUKGLHR69zfR0dYmtcy78b1Aibck0km=6Ns284i2i+2Qf5Rw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Wait events for delayed checkpoints  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Fri, Oct 13, 2023 at 2:19 PM Robert Haas <robertmhaas@gmail.com> wrote:
> On Thu, Oct 12, 2023 at 7:09 PM Michael Paquier <michael@paquier.xyz> wrote:
> > HaveVirtualXIDsDelayingChkpt() does immediately a LWLockAcquire()
> > which would itself report a wait event for ProcArrayLock, overwriting
> > this new one, no?
>
> Ah, right: the wait event should be set and cleared around pg_usleep,
> not the whole loop.

Duh.  Yeah.  Pushed like that.  Thanks both.



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

Предыдущее
От: Peter Smith
Дата:
Сообщение: Re: PGDOCS - add more links in the pub/sub reference pages
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: pg_upgrade's interaction with pg_resetwal seems confusing