Re: Summary function for pg_buffercache - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: Summary function for pg_buffercache
Date
Msg-id 20220909172311.GB2255629@nathanxps13
Whole thread Raw
In response to Re: Summary function for pg_buffercache  (Aleksander Alekseev <aleksander@timescale.com>)
Responses Re: Summary function for pg_buffercache
List 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



pgsql-hackers by date:

Previous
From: Bharath Rupireddy
Date:
Subject: Re: Possible crash on standby
Next
From: Nathan Bossart
Date:
Subject: Re: Possible crash on standby