Re: "duplicated" wait events

Поиск
Список
Период
Сортировка
От Kyotaro Horiguchi
Тема Re: "duplicated" wait events
Дата
Msg-id 20230807.144634.593425755953926995.horikyota.ntt@gmail.com
обсуждение исходный текст
Ответ на "duplicated" wait events  ("Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>)
Ответы Re: "duplicated" wait events  ("Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>)
Список pgsql-hackers
At Fri, 4 Aug 2023 17:07:51 +0200, "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com> wrote in 
> SynRep currently appears in "IPC" and "LWLock" (see [2])
> WALWrite currently appears in "IO" and "LWLock" (see [2])
> 
> I think that can lead to confusion and it would be better to avoid
> duplicate wait event
> name across Wait Class (and so fix those 2 ones above), what do you
> think?

I think it would be handy to be able to summirize wait events by event
names, instead of classes. In other words, grouping wait events
through all classes according to their purpose. From that perspective,
I'm rather fan of consolidating event names (that is, the opposite of
your proposal).

However, it seems the event weren't named with this consideration. So
I'm on the fence about this change.


By the way, I couldn't figure out how to tag event names without
messing up the source tree. This causes meson to refuse a build..

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



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

Предыдущее
От: jian he
Дата:
Сообщение: Re: Cleaning up array_in()
Следующее
От: Julien Rouhaud
Дата:
Сообщение: Re: [PoC] pg_upgrade: allow to upgrade publisher node