Re: monitoring usage count distribution

Nathan Bossart <nathandbossart@gmail.com>

From: Nathan Bossart <nathandbossart@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>, Andres Freund <andres@anarazel.de>, pgsql-hackers@postgresql.org, schneider@ardentperf.com
Date: 2023-04-05T19:35:05Z
Lists: pgsql-hackers
On Wed, Apr 05, 2023 at 03:07:10PM -0400, Tom Lane wrote:
> Seems to me that six rows would be easier to aggregate manually.
> An array column seems less SQL-ish and harder to manipulate.

+1

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



Commits

  1. Add pg_buffercache_usage_counts() to contrib/pg_buffercache.