Re: Tracking wait event for latches

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Tracking wait event for latches
Дата
Msg-id CAB7nPqRS-hyr5eTAJ+Nt8WrT-67taChfhvc1yGShzU3eimrvOA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Tracking wait event for latches  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Thu, Sep 22, 2016 at 10:49 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> Finally, extensions got their own category in this taxonomy, though I
> wonder if it would be better to instead have
> Activity/ExtensionActivity, Client/ExtensionClient,
> Timeout/ExtensionTimeout, and IPC/ExtensionIPC instead of making it a
> separate toplevel category.

I don't think that it is necessary to go up to that level. If you look
at the latest patch, WaitLatch & friends have been extended with two
arguments: classId and eventId, so extensions could just use
WAIT_ACTIVITY as classId and WE_EXTENSION as eventId to do the
equivalent of ExtensionActivity.
-- 
Michael



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Write Ahead Logging for Hash Indexes
Следующее
От: Mark Kirkwood
Дата:
Сообщение: Re: Hash Indexes