Re: Summary function for pg_buffercache

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Aleksander Alekseev <aleksander(at)timescale(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Melih Mutlu <m(dot)melihmutlu(at)gmail(dot)com>
Subject: Re: Summary function for pg_buffercache
Date: 2022-09-09 17:23:11
Message-ID: 20220909172311.GB2255629@nathanxps13
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2022-09-09 17:26:32 Re: Possible crash on standby
Previous Message Bharath Rupireddy 2022-09-09 17:21:10 Re: Possible crash on standby