like pg_shmem_allocations, but fine-grained for DSM registry ?

From: Florents Tselai <florents(dot)tselai(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: like pg_shmem_allocations, but fine-grained for DSM registry ?
Date: 2025-03-13 16:54:09
Message-ID: 4D445D3E-81C5-4135-95BB-D414204A0AB4@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I’ve been working with the DSM registry API.
I was wondering if it is possible (it doesn’t look like it) or if it has been discussed:
can we expose a view like pg_shmem_allocations, but fine-grained for every named segment (i.e. created by GetNamedDSMSegment )?

Currently, there is a "DSM Registry Data” entry in that view,
but iiuc, it’s only about the top-level hash table the registry uses.

That’s probably related to http://postgr.es/m/CAH2L28vHzRankszhqz7deXURxKncxfirnuW68zD7+hVAqaS5GQ@mail.gmail.com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2025-03-13 16:56:09 Re: [PATCH] pg_stat_activity: make slow/hanging authentication more visible
Previous Message Andres Freund 2025-03-13 16:50:32 DROP TABLESPACE waits for checkpoint with lwlock held