Re: like pg_shmem_allocations, but fine-grained for DSM registry ?

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Florents Tselai <florents(dot)tselai(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: like pg_shmem_allocations, but fine-grained for DSM registry ?
Date: 2025-06-24 20:33:31
Message-ID: aFsLm108vocuV76g@nathan
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I think this will need some rework to deal with the addition of
GetNamedDSA() and GetNamedDSHash() [0]. We probably want to add a "type"
column to show whether the entry is for a DSM, DSA, or dshash table. And
for DSAs and dshash tables, we probably want to use dsa_get_total_size()
for the "size" column.

[0] https://postgr.es/m/flat/aEC8HGy2tRQjZg_8(at)nathan

--
nathan

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jacob Champion 2025-06-24 20:39:49 Re: [PATCH] Fix OAuth feature detection on OpenBSD+Meson
Previous Message Tomas Vondra 2025-06-24 20:32:25 Re: pgsql: Introduce pg_shmem_allocations_numa view