RE: Add aborted_txns and aborted_bytes to pg_stat_replication_slots

From: "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>
To: 'Rajesh Kumar Thandapani' <rajeshkumarth(at)google(dot)com>
Cc: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Ajin Cherian <itsajin(at)gmail(dot)com>
Subject: RE: Add aborted_txns and aborted_bytes to pg_stat_replication_slots
Date: 2026-12-04 08:29:31
Message-ID: OS7PR01MB1831727E4A1C2E12AEDE6CC7AF54A2@OS7PR01MB18317.jpnprd01.prod.outlook.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Thanks for the proposal!

Can you clarify how DBAs use these attributes? According to the cheat sheet on
the wikipage [1], pg_stat_replication_slot can be checked to check to check amount
of spilled or streamed changes. For this usage, I felt current information
might be enough because xxx_bytes can be increased even for ABORT.

[1]: https://wiki.postgresql.org/wiki/Operations_cheat_sheet#:~:text=logical_decoding_work_mem

Best regards,
Hayato Kuroda
FUJITSU LIMITED

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message ZizhuanLiu X-MAN 2026-12-04 08:34:08 Re: examine_variable ignored CollateExpr
Previous Message Xuneng Zhou 2026-12-04 08:14:10 Re: Small WAL replay perf improvements (smgropen()+reduce membarriers for LSN waiters)