Re: like pg_shmem_allocations, but fine-grained for DSM registry ?
Nathan Bossart <nathandbossart@gmail.com>
From: Nathan Bossart <nathandbossart@gmail.com>
To: Florents Tselai <florents.tselai@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-07-08T15:21:22Z
Lists: pgsql-hackers
On Tue, Jul 08, 2025 at 07:17:54PM +0800, Florents Tselai wrote: > I can't see how it's possible to get the actual size for the dsa and dsh case, > without attaching and then using, dsa_get_total_size on the attached dsa. > And I don't think we wanna do that. > > Instead maybe we can just report NULL for the dsa and dsh cases? Yeah, I'm not sure what else we can do about that without a bunch of refactoring work on the DSA/dshash side, and it's probably not worth the effort, anyway. -- nathan
Commits
-
Introduce pg_dsm_registry_allocations view.
- 167ed8082f40 19 (unreleased) landed