From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | Masahiro Ikeda <ikedamsh(at)oss(dot)nttdata(dot)com> |
Cc: | Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Li Japin <japinli(at)hotmail(dot)com>, kuroda(dot)hayato(at)fujitsu(dot)com |
Subject: | Re: About to add WAL write/fsync statistics to pg_stat_wal view |
Date: | 2021-01-25 23:52:44 |
Message-ID: | CAKFQuwbUmjZwkHREx84U7nZmS008+BUcfwAAAtpaEsB=h6CdYA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Jan 25, 2021 at 4:37 PM Masahiro Ikeda <ikedamsh(at)oss(dot)nttdata(dot)com>
wrote:
>
> I agree with your comments. I think it should report when
> reaching the end of WAL too. I add the code to report the stats
> when finishing the current WAL segment file when timeout in the
> main loop and when reaching the end of WAL.
>
>
The following is not an improvement:
- /* Send WAL statistics to the stats collector. */
+ /* Send WAL statistics to stats collector */
The word "the" there makes it proper English. Your copy-pasting should
have kept the existing good wording in the other locations rather than
replace the existing location with the newly added incorrect wording.
This doesn't make sense:
* current WAL segment file to avoid loading stats collector.
Maybe "overloading" or "overwhelming"?
I see you removed the pgstat_send_wal(force) change. The rest of my
comments on the v6 patch still stand I believe.
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2021-01-26 00:09:44 | Re: Key management with tests |
Previous Message | David G. Johnston | 2021-01-25 23:48:09 | Re: About to add WAL write/fsync statistics to pg_stat_wal view |