Re: Replication slot stats misgivings
Masahiko Sawada <sawada.mshk@gmail.com>
From: Masahiko Sawada <sawada.mshk@gmail.com>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: vignesh C <vignesh21@gmail.com>, Andres Freund <andres@anarazel.de>, PostgreSQL-development <pgsql-hackers@postgresql.org>, Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Date: 2021-04-15T07:42:47Z
Lists: pgsql-hackers
On Thu, Apr 15, 2021 at 3:22 PM Amit Kapila <amit.kapila16@gmail.com> wrote: > > On Wed, Apr 14, 2021 at 5:52 PM vignesh C <vignesh21@gmail.com> wrote: > > > > I have made minor changes to the 0001 and 0002 patches. Attached is > the combined patch for them, I think we can push them as one patch. > Changes made are (a) minor editing in comments, (b) changed the > condition when to report stats such that unless we have processed any > bytes, we shouldn't send those, (c) removed some unrelated changes > from 0002, (d) ran pgindent. > > Let me know what you think of the attached? Thank you for updating the patch. I have one question on the doc change: + so the counter is not incremented for subtransactions. Note that this + includes the transactions streamed and or spilled. + </para></entry> The patch uses the sentence "streamed and or spilled" in two places. You meant “streamed and spilled”? Even if it actually means “and or”, using "and or” (i.g., connecting “and” to “or” by a space) is general? I could not find we use it other places in the doc but found we're using "and/or" instead. Regards, -- Masahiko Sawada EDB: https://www.enterprisedb.com/
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