Re: introduce bufmgr hooks - Mailing list pgsql-hackers

From Andres Freund
Subject Re: introduce bufmgr hooks
Date
Msg-id 20220831152931.zpsyqrv6mbqt4nip@awork3.anarazel.de
Whole thread Raw
In response to introduce bufmgr hooks  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: introduce bufmgr hooks
List pgsql-hackers
HHi,

On 2022-08-29 15:24:49 -0700, Nathan Bossart wrote:
> I'd like to propose some new hooks for the buffer manager.  My primary goal
> is to allow users to create an additional caching mechanism between the
> shared buffers and disk for evicted buffers.

I'm very doubtful this is a good idea. These are quite hot paths. While not a
huge cost, adding an indirection isn't free nonetheless.  I also think it'll
make it harder to improve things in this area, which needs quite a bit of
work.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: pg_upgrade generated files in subdir follow-up
Next
From: "Drouvot, Bertrand"
Date:
Subject: [PATCH] Query Jumbling for CALL and SET utility statements