Re: Improve monitoring of shared memory allocations

Heikki Linnakangas <hlinnaka@iki.fi>

From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Rahila Syed <rahilasyed90@gmail.com>, Á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-04-07T08:19:03Z
Lists: pgsql-hackers
On 10/02/2026 14:17, Rahila Syed wrote:
> Hi,
> 
> 
>     Was this forgotten, superseded, abandoned, or should it still be under
>     consideration?
>     https://commitfest.postgresql.org/patch/5620/ <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.

This was superseded by commit 9fe9ecd516, I'll close this in the 
commitfest app. Thanks!

- Heikki




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