Re: Summary function for pg_buffercache
Nathan Bossart <nathandbossart@gmail.com>
From: Nathan Bossart <nathandbossart@gmail.com>
To: Aleksander Alekseev <aleksander@timescale.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>, Melih Mutlu <m.melihmutlu@gmail.com>
Date: 2022-09-09T17:23:11Z
Lists: pgsql-hackers
On Fri, Sep 09, 2022 at 05:36:45PM +0300, Aleksander Alekseev wrote: > However I'm afraid you can't examine BufferDesc's without taking > locks. This is explicitly stated in buf_internals.h: Yeah, when I glanced at this patch earlier, I wondered about this. > I suggest we focus on saving the memory first and then think about the > performance, if necessary. +1 -- Nathan Bossart Amazon Web Services: https://aws.amazon.com
Commits
-
pg_buffercache: Add pg_buffercache_summary()
- 2589434ae0fb 16.0 landed
-
Revert 56-bit relfilenode change and follow-up commits.
- a448e49bcbe4 16.0 cited