Re: Adding wait events statistics - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Adding wait events statistics
Date
Msg-id p57crhg4irchrk3empczs322tzfklsx2o5vsw77ttmug2fd6gz@l4mji7vwobuw
Whole thread Raw
In response to Re: Adding wait events statistics  (Bertrand Drouvot <bertranddrouvot.pg@gmail.com>)
List pgsql-hackers
Hi,

On 2025-07-10 08:21:56 +0000, Bertrand Drouvot wrote:
> - Let's define a list of "cheap" and a list of "expensive" wait events
> - Change the code path to increment counters only for the "expensive" ones
> - Optimize the counter incrementation as much as possible
> 
> Does that sound reasonable to you?

That does seem like the minimum.

Unfortunately I'm rather doubtful this provides enough value to be worth the
cost. But I'm rather willing to be proven wrong.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [Question] Window Function Results without ORDER BY Clause
Next
From: Andres Freund
Date:
Subject: Re: Adding basic NUMA awareness