Re: shared-memory based stats collector - v66

Поиск
Список
Период
Сортировка
От Melanie Plageman
Тема Re: shared-memory based stats collector - v66
Дата
Msg-id CAAKRu_Z13Pbatko5AQbCm+wwYK=3Yix1_=x3QoD-0Ket9h47og@mail.gmail.com
обсуждение исходный текст
Ответ на Re: shared-memory based stats collector - v66  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Thu, Mar 17, 2022 at 3:36 AM Andres Freund <andres@anarazel.de> wrote:
> I've attached a substantially improved version of the shared memory stats
> patch.
...
>   - lot of the pg_stat_ views like bgwriter, pg_stat_database have zero coverage today

Attached are some tests including tests that reset of stats works for
all views having a reset timestamp as well as a basic test for at least
one column in all of the following stats views:
pg_stat_archiver, pg_stat_bgwriter, pg_stat_wal, pg_stat_slru,
pg_stat_replication_slots, pg_stat_database

It might be nice to have a test for one of the columns fetched from the
PgStatBgwriter data structure since those and the Checkpointer stats are
stored separately despite being displayed in the same view currently.
but, alas...

- Melanie

Вложения

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

Предыдущее
От: Nathan Bossart
Дата:
Сообщение: Re: XMAX_LOCK_ONLY and XMAX_COMMITTED (fk/multixact code)
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: Probable CF bot degradation