Re: show size of DSAs and dshash tables in pg_dsm_registry_allocations

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: show size of DSAs and dshash tables in pg_dsm_registry_allocations
Дата
Msg-id CA+TgmobSKy5g-sb-eSEm48m_Vf5UOOLxy4pynutavUm_D=YF2A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: show size of DSAs and dshash tables in pg_dsm_registry_allocations  (Nathan Bossart <nathandbossart@gmail.com>)
Ответы Re: show size of DSAs and dshash tables in pg_dsm_registry_allocations
Список pgsql-hackers
On Mon, Dec 1, 2025 at 10:29 AM Nathan Bossart <nathandbossart@gmail.com> wrote:
> > 4. Since, with this change, the size column will show memory allocation
> > regardless of whether it is currently mapped in the local process, I
> > think it would be helpful to add a boolean column to display the mapped
> > status as a future enhancement.
>
> Maybe, although I'm struggling to think of a scenario where that
> information would be useful.

I'd be -1 on that idea. I think it's good to keep this as a view of
the global system state, rather than a view of the state of one
particular process.

The patch itself LGTM. I did a casual review only and did not attempt
to verify that it works properly, but I like both the idea and the
execution.

--
Robert Haas
EDB: http://www.enterprisedb.com



В списке pgsql-hackers по дате отправления: