pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Andres Freund <andres@anarazel.de>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Add wait event for fsync of WAL segments
Date: Tue, 3 Jul 2018 16:12:23 -0400
Message-ID: <20180703201223.2jgzfbihvh6q2g3w@alvherre.pgsql> (raw)
In-Reply-To: <20180703191845.6dcmu5ku56wsqgoe@alap3.anarazel.de>

On 2018-Jul-03, Andres Freund wrote:

> 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.

You're right.

> > 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.

Hmm, if the stats are really invalidated by this change, then surely the
original numbers were incorrect anyway.

Anyway, it's not a huge deal to me.  If Michael doesn't want to
backpatch it, it's his call, and I don't have the cycles to do it myself
right now either.  If some other committer cares about it, well ...

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




view thread (14+ messages)  latest in thread

Message-ID: <20180703201223.2jgzfbihvh6q2g3w@alvherre.pgsql>
Permalink:  ../20180703201223.2jgzfbihvh6q2g3w@alvherre.pgsql/
Also on:    postgresql.org/message-id/20180703201223.2jgzfbihvh6q2g3w@alvherre.pgsql

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: alvherre@2ndquadrant.com, andres@anarazel.de, michael@paquier.xyz
  Subject: Re: pgsql: Add wait event for fsync of WAL segments
  In-Reply-To: <20180703201223.2jgzfbihvh6q2g3w@alvherre.pgsql>
  References: <20180703191845.6dcmu5ku56wsqgoe@alap3.anarazel.de> <20180703201223.2jgzfbihvh6q2g3w@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox