Re: monitoring usage count distribution - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: monitoring usage count distribution
Date
Msg-id 20230405175124.GA31516@nathanxps13
Whole thread Raw
In response to Re: monitoring usage count distribution  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: monitoring usage count distribution  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Wed, Apr 05, 2023 at 09:44:58AM -0400, Robert Haas wrote:
> On Tue, Apr 4, 2023 at 7:29 PM Andres Freund <andres@anarazel.de> wrote:
>> > Replacing that with a six-element integer array would be a clear improvement
>> > and, IMHO, better than adding yet another function to the extension.
>>
>> I'd have no issue with that.
> 
> Cool.

The six-element array approach won't show the number of dirty and pinned
buffers for each usage count, but I'm not sure that's a deal-breaker.
Barring objections, I'll post an updated patch shortly with that approach.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Temporary tables versus wraparound... again
Next
From: Pavel Stehule
Date:
Subject: Re: Schema variables - new implementation for Postgres 15