Re: Changing shared_buffers without restart - Mailing list pgsql-hackers

From Dmitry Dolgov
Subject Re: Changing shared_buffers without restart
Date
Msg-id 7tiy2lkzz3tznoosr4aqophotxm6ec46vi7g4si73ga27iw4my@qzdsgczvzzmp
Whole thread Raw
In response to Re: Changing shared_buffers without restart  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-hackers
> On Thu, Nov 07, 2024 at 02:05:52PM GMT, Thomas Munro wrote:
> On Sat, Oct 19, 2024 at 8:21 AM Dmitry Dolgov <9erthalion6@gmail.com> wrote:
> > Currently it
> > supports only an increase of shared_buffers.
>
> Just BTW in case it is interesting, Palak and I experimented with how
> to shrink the buffer pool while PostgreSQL is running, while we were
> talking about 13453ee (which it shares infrastructure with).  This
> version fails if something is pinned and in the way of the shrink
> operation, but you could imagine other policies (wait, cancel it,
> ...):
>
> https://github.com/macdice/postgres/commit/db26fe0c98476cdbbd1bcf553f3b7864cb142247

Thanks, looks interesting. I'll try to experiment with that in the next
version of the patch.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: not null constraints, again
Next
From: Dmitry Dolgov
Date:
Subject: Re: Changing shared_buffers without restart