Re: Summary function for pg_buffercache
Aleksander Alekseev <aleksander@timescale.com>
From: Aleksander Alekseev <aleksander@timescale.com>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>,
Melih Mutlu <m.melihmutlu@gmail.com>
Date: 2022-09-09T21:14:33Z
Lists: pgsql-hackers
Attachments
- v4-0001-Added-pg_buffercache_summary-function.patch (application/octet-stream) patch v4-0001
Hi hackers, > > I suggest we focus on saving the memory first and then think about the > > performance, if necessary. > > +1 I made a mistake in v3 cfbot complained about. It should have been: ``` if (RelFileNumberIsValid(BufTagGetRelNumber(&bufHdr->tag))) ``` Here is the corrected patch. -- Best regards, Aleksander Alekseev
Commits
-
pg_buffercache: Add pg_buffercache_summary()
- 2589434ae0fb 16.0 landed
-
Revert 56-bit relfilenode change and follow-up commits.
- a448e49bcbe4 16.0 cited