| From: | Michael Paquier <michael(at)paquier(dot)xyz> |
|---|---|
| To: | Sami Imseih <samimseih(at)gmail(dot)com> |
| Cc: | Tristan Partin <tristan(at)partin(dot)io>, Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Add pg_stat_kind_info system view |
| Date: | 2026-07-29 23:18:21 |
| Message-ID: | amqKPT7AEm99AezS@paquier.xyz |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Tue, Jul 28, 2026 at 04:38:54PM -0500, Sami Imseih wrote:
> pg_stat_kind_info could also expose the shmem allocation name
> as a column, so users can join back to
> pg_dsm_registry_allocations. And once [1] lands,
> pg_stat_kind_info would also expose whether a kind uses
> the shared or dedicated hash.
Noted.
> I think to switch to GetNamedDSHash(), we would need to
> return the DSA area from GetNamedDSHash() so entry body
> allocations can use the same DSA that backs the hash. I already
> have a patch for this [2]. More thought is needed, but I can look
> into it.
In terms of this thread, more thought is a synonym of making sure that
your proposal [2] is good enough for the purpose to be able to monitor
the pgstats activity. I'll try to look double-check this part
separately; this naturally adds more value to the other proposal.
--
Michael
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Smith | 2026-07-30 00:04:40 | Re: A new C function `get_partition_root`. |
| Previous Message | Peter Smith | 2026-07-29 22:36:38 | Re: sequencesync worker race with REFRESH SEQUENCES |