Re: pgsql: Add wait event for fsync of WAL segments - Mailing list pgsql-committers

From Andres Freund
Subject Re: pgsql: Add wait event for fsync of WAL segments
Date
Msg-id 20180703191845.6dcmu5ku56wsqgoe@alap3.anarazel.de
Whole thread Raw
In response to Re: pgsql: Add wait event for fsync of WAL segments  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: pgsql: Add wait event for fsync of WAL segments
List 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 by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: pgsql: Add wait event for fsync of WAL segments
Next
From: Alvaro Herrera
Date:
Subject: Re: pgsql: Add wait event for fsync of WAL segments