Re: Changing shared_buffers without restart
Dmitry Dolgov <9erthalion6@gmail.com>
From: Dmitry Dolgov <9erthalion6@gmail.com>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: pgsql-hackers@postgresql.org
Date: 2024-11-08T16:40:03Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Remove PG_MMAP_FLAGS from mem.h
- c100340729b6 19 (unreleased) landed
-
Improve runtime and output of tests for replication slots checkpointing.
- 4464fddf7b50 18.0 cited
-
Revert support for improved tracking of nested queries
- f85f6ab051b7 18.0 cited
-
Use exported symbols list on macOS for loadable modules as well
- 3feff3916ee1 18.0 cited
-
Add support for basic NUMA awareness
- 65c298f61fc7 18.0 cited
-
Avoid unnecessary copying of a string in pg_restore.c
- 5e1915439085 18.0 cited
-
aio: Infrastructure for io_method=worker
- 55b454d0e140 18.0 cited
-
Improve InitShmemAccess() prototype
- 2a7b2d97171d 18.0 landed
> 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.