pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
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 12:18:45 -0700
Message-ID: <20180703191845.6dcmu5ku56wsqgoe@alap3.anarazel.de> (raw)
In-Reply-To: <20180703191320.k75fit2ulkuysudf@alvherre.pgsql>
References: <20180703005558.GC2159@paquier.xyz>
	<20180703191320.k75fit2ulkuysudf@alvherre.pgsql>

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




view thread (14+ messages)  latest in thread

Message-ID: <20180703191845.6dcmu5ku56wsqgoe@alap3.anarazel.de>
Permalink:  ../20180703191845.6dcmu5ku56wsqgoe@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20180703191845.6dcmu5ku56wsqgoe@alap3.anarazel.de

 · 

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: andres@anarazel.de, alvherre@2ndquadrant.com, michael@paquier.xyz
  Subject: Re: pgsql: Add wait event for fsync of WAL segments
  In-Reply-To: <20180703191845.6dcmu5ku56wsqgoe@alap3.anarazel.de>
  References: <20180703005558.GC2159@paquier.xyz> <20180703191320.k75fit2ulkuysudf@alvherre.pgsql> <20180703191845.6dcmu5ku56wsqgoe@alap3.anarazel.de>

* 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