On Thu, 26 Mar 2026 10:31:19 +0900 Michael Paquier <[email protected]> wrote:
> On Thu, Mar 26, 2026 at 10:18:39AM +0900, Yugo Nagata wrote: > > I'm not sure this would significantly reduce the size of > > PgStat_StatTabEntry. Could you elaborate on the expected benefits? > > The point is that this reduces the shmem footprint for indexes (well, > it's also benefitial for tables, just less), on top of being cleaner > because the stats views would only need to store and query the fields > they care about for each relkind. Thank you for the clarification. I think I understand your point now. So, you mean introducing a separate stats kind for indexes, such as PGSTAT_KIND_INDEX? Regards, Yugo Nagata > -- > Michael -- Yugo Nagata <[email protected]>
