Re: SLRU statistics - Mailing list pgsql-hackers

From Tom Lane
Subject Re: SLRU statistics
Date
Msg-id 13487.1589485526@sss.pgh.pa.us
Whole thread Raw
In response to Re: SLRU statistics  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> I'm confused by why SLRU statistics are reported by messages sent to
> the stats collector rather than by just directly updating shared
> memory.

It would be better to consider that as an aspect of the WIP stats
collector redesign, rather than inventing a bespoke mechanism for
SLRU stats that's outside the stats collector (and, no doubt,
would have its own set of bugs).  We don't need to invent even more
pathways for this sort of data.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Our naming of wait events is a disaster.
Next
From: Tom Lane
Date:
Subject: Re: new heapcheck contrib module