Track statistics for streaming of in-progress transactions

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Track statistics for streaming of in-progress transactions
Дата
Msg-id CAA4eK1+chpEomLzgSoky-D31qev19AmECNiEAietPQUGEFhtVA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Track statistics for streaming of in-progress transactions  (Ajin Cherian <itsajin@gmail.com>)
Re: Track statistics for streaming of in-progress transactions  (Dilip Kumar <dilipbalaut@gmail.com>)
Список pgsql-hackers
Commit 464824323e has added the support of the streaming of
in-progress transactions into the built-in logical replication. The
attached patch adds the statistics about transactions streamed to the
decoding output plugin from ReorderBuffer. Users can query the
pg_stat_replication_slots view to check these stats and call
pg_stat_reset_replication_slot to reset the stats of a particular
slot. Users can pass NULL in pg_stat_reset_replication_slot to reset
stats of all the slots.

Commit 9868167500 has added the basic infrastructure to capture the
stats of slot and this commit extends the statistics collector to
track additional information about slots.

This patch was originally written by Ajin Cherian [1]. I have fixed
bugs and modified some comments in the code.

Thoughts?

[1] - https://www.postgresql.org/message-id/CAFPTHDZ8RnOovefzB%2BOMoRxLSD404WRLqWBUHe6bWqM5ew1bNA%40mail.gmail.com

--
With Regards,
Amit Kapila

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: scram-sha-256 broken with FIPS and OpenSSL 1.0.2
Следующее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: Transactions involving multiple postgres foreign servers, take 2