Re: introduce bufmgr hooks

From: Andres Freund <andres(at)anarazel(dot)de>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: introduce bufmgr hooks
Date: 2022-08-31 15:29:31
Message-ID: 20220831152931.zpsyqrv6mbqt4nip@awork3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Drouvot, Bertrand 2022-08-31 15:33:44 [PATCH] Query Jumbling for CALL and SET utility statements
Previous Message Daniel Gustafsson 2022-08-31 14:41:24 Re: pg_upgrade generated files in subdir follow-up