Re: Improve monitoring of shared memory allocations

Rahila Syed <rahilasyed90@gmail.com>

From: Rahila Syed <rahilasyed90@gmail.com>
To: Álvaro Herrera <alvherre@kurilemu.de>
Cc: Tomas Vondra <tomas@vondra.me>, Nazir Bilal Yavuz <byavuz81@gmail.com>, Andres Freund <andres@anarazel.de>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2026-02-10T12:17:42Z
Lists: pgsql-hackers
Hi,


> Was this forgotten, superseded, abandoned, or should it still be under
> consideration?
> https://commitfest.postgresql.org/patch/5620/


This hasn't been forgotten; I just haven't had a chance to address the
comments
about improving test coverage yet. I think it is still possible to make
this work for
shared hash tables. I will try to rebase and add some tests before the next
commitfest.

 Thank you,
Rahila Syed

Commits

  1. Allocate all parts of shmem hash table from a single contiguous area

  2. Improve accounting for PredXactList, RWConflictPool and PGPROC

  3. Improve accounting for memory used by shared hash tables