Re: Improve monitoring of shared memory allocations

Álvaro Herrera <alvherre@kurilemu.de>

From: Álvaro Herrera <alvherre@kurilemu.de>
To: Rahila Syed <rahilasyed90@gmail.com>
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-09T18:32:23Z
Lists: pgsql-hackers
Hello,

On 2025-Apr-04, Rahila Syed wrote:

> Please find attached the patch which removes the changes for
> non-shared hash tables and keeps them for shared hash tables.
> 
> I tested this by running make-check, make-check world and the reproducer
> script shared by David. I also ran pgbench to test creation and
> expansion of some of the shared hash tables.

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

Thanks,

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/



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