Re: pgsql: Add wait event for fsync of WAL segments

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pgsql: Add wait event for fsync of WAL segments
Дата
Msg-id 20180703191845.6dcmu5ku56wsqgoe@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: pgsql: Add wait event for fsync of WAL segments  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: pgsql: Add wait event for fsync of WAL segments
Список pgsql-committers
Hi,

On 2018-07-03 15:13:20 -0400, Alvaro Herrera wrote:
> Are the numerical values actually exposed to the world?  I thought the
> only way to this info was through the system views, which surely expose
> the names, not the numbers.

There's at least some work at high frequency sampling of these, and I
assume that's not going through SQL, but rather C functions.


> If reading wait events is actually possible, then it seems easy to
> backpatch this in pg10 by putting the new value at the end of the
> relevant enum, yeah.

Honestly, I don't really see an argument for backpatching this. If
people started measuring it might even invalidate their stats.

Greetings,

Andres Freund


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgsql: Add wait event for fsync of WAL segments
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgsql: Add wait event for fsync of WAL segments