Re: Replication slot stats misgivings
vignesh C <vignesh21@gmail.com>
From: vignesh C <vignesh21@gmail.com>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: Masahiko Sawada <sawada.mshk@gmail.com>,
Andres Freund <andres@anarazel.de>, PostgreSQL-development <pgsql-hackers@postgresql.org>, Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Date: 2021-04-10T13:21:32Z
Lists: pgsql-hackers
Attachments
- v6-0001-Changed-char-datatype-to-NameData-datatype-for-sl.patch (text/x-patch) patch v6-0001
- v6-0002-Added-total-txns-and-total-txn-bytes-to-replicati.patch (text/x-patch) patch v6-0002
- v6-0003-Added-tests-for-verification-of-logical-replicati.patch (text/x-patch) patch v6-0003
- v6-0004-Handle-overwriting-of-replication-slot-statistic-.patch (text/x-patch) patch v6-0004
- v6-0005-Test-where-there-are-more-replication-slot-statis.patch (text/x-patch) patch v6-0005
On Sat, Apr 10, 2021 at 6:24 PM Amit Kapila <amit.kapila16@gmail.com> wrote: > > On Sat, Apr 10, 2021 at 1:06 PM vignesh C <vignesh21@gmail.com> wrote: > > > > Thanks Amit for your Patch. I have merged your changes into my > > patchset. I did not find any issues in my testing. > > Thoughts? > > > > 0001 > ------ > PgStat_Counter m_stream_bytes; > + PgStat_Counter m_total_txns; > + PgStat_Counter m_total_bytes; > } PgStat_MsgReplSlot; > > .. > .. > > + PgStat_Counter total_txns; > + PgStat_Counter total_bytes; > TimestampTz stat_reset_timestamp; > } PgStat_ReplSlotStats; > > Doesn't this change belong to the second patch? Missed it while splitting the patches, it is fixed in the attached patch, Regards, Vignesh
Commits
-
Doc: Update logical decoding stats information.
- 0c6b92d9c6fb 14.0 landed
-
Fix tests for replication slots stats.
- fc69509131c3 14.0 landed
-
Update replication statistics after every stream/spill.
- 592f00f8dec6 14.0 landed
-
Fix the computation of slot stats for 'total_bytes'.
- 205f466282be 14.0 landed
-
Another try to fix the test case added by commit f5fc2f5b23.
- 51ef9173030c 14.0 landed
-
Use HTAB for replication slot statistics.
- 3fa17d37716f 14.0 landed
-
Fix test case added by commit f5fc2f5b23.
- c64dcc7fee5f 14.0 landed
-
Add information of total data processed to replication slot stats.
- f5fc2f5b23d1 14.0 landed
-
Use NameData datatype for slotname in stats.
- cca57c1d9bf7 14.0 landed