pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Masahiro Ikeda <ikedamsh@oss.nttdata.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: Masahiko Sawada <sawada.mshk@gmail.com>
Cc: Li Japin <japinli@hotmail.com>
Cc: kuroda.hayato@fujitsu.com
Subject: Re: About to add WAL write/fsync statistics to pg_stat_wal view
Date: Tue, 9 Mar 2021 17:02:40 +0900
Message-ID: <42ce8bed-823d-9281-f24c-9ed3bfe71bc9@oss.nttdata.com> (raw)
In-Reply-To: <CAKFQuwYjiohvS9C5Uiq+jn7eQPFtqEpPLa7-M2HQZq7dh3K+PA@mail.gmail.com>
References: <0509ad67b585a5b86a83d445dfa75392@oss.nttdata.com>
	<925e940a832e96ca5d7276a4cc3dec83@oss.nttdata.com>
	<3df6e23e3e1e9cd95b08c943ef320046@oss.nttdata.com>
	<CAKFQuwYHX-h3_LkrbNYUguN9fP-YfOVsKyVJ8EaZY2O4Z0upGA@mail.gmail.com>
	<23a9f71817f616135551e2fde5ef362e@oss.nttdata.com>
	<a7c255be-ca6e-b31f-b836-74eccf9510a8@oss.nttdata.com>
	<930cae989a0fe8db6870cbeb5f24cf97@oss.nttdata.com>
	<9a70efda-6f47-8b1c-0513-419e1185000a@oss.nttdata.com>
	<6c8932c2b0756971e4b28f06af07be9a@oss.nttdata.com>
	<4a81fc95615db54b75f59759752b2cef@oss.nttdata.com>
	<49d412cc-2e39-a487-1861-a8560ebb88cb@oss.nttdata.com>
	<da0059e5e7282573c52ecffd3554a810@oss.nttdata.com>
	<11c4230c-9ae5-0a56-2139-543d8453ab75@oss.nttdata.com>
	<718082d08f9971608bc0c63d2f8a79bb@oss.nttdata.com>
	<60cb8410-1390-9078-bc74-d69c823c755d@oss.nttdata.com>
	<18725ca54edbf6af2c0e500055a66fd9@oss.nttdata.com>
	<c4e1ebb8-6cd7-ebbf-a770-c65ea54239ce@oss.nttdata.com>
	<CAKFQuwYjiohvS9C5Uiq+jn7eQPFtqEpPLa7-M2HQZq7dh3K+PA@mail.gmail.com>



On 2021/03/09 4:47, David G. Johnston wrote:
> On Mon, Mar 8, 2021 at 8:48 AM Fujii Masao <masao.fujii@oss.nttdata.com <mailto:masao.fujii@oss.nttdata.com>> wrote:
> 
> 
>     Thanks for updating the patch! I applied cosmetic changes to that.
>     Patch attached. Barring any objection, I will commit this version.
> 
> 
> Read over the patch and it looks good.

Thanks for the review! I committed the patch.


> 
> One minor "the" omission (in a couple of places, copy-paste style):
> 
> +       See <xref linkend="wal-configuration"/> for more information about
> +       internal WAL function <function>XLogWrite</function>.
> 
> "about *the* internal WAL function"

I added "the" in such two places. Thanks!


> 
> Also, I'm not sure why you find omitting documentation that the millisecond field has a fractional part out to microseconds to be helpful.

If this information should be documented, we should do that for
not only wal_write/sync_time but also other several columns,
for example, pg_stat_database.blk_write_time?

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION





view thread (67+ messages)  latest in thread

Message-ID: <42ce8bed-823d-9281-f24c-9ed3bfe71bc9@oss.nttdata.com>
Permalink:  ../42ce8bed-823d-9281-f24c-9ed3bfe71bc9@oss.nttdata.com/
Also on:    postgresql.org/message-id/42ce8bed-823d-9281-f24c-9ed3bfe71bc9@oss.nttdata.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: masao.fujii@oss.nttdata.com, david.g.johnston@gmail.com, ikedamsh@oss.nttdata.com, sawada.mshk@gmail.com, japinli@hotmail.com, kuroda.hayato@fujitsu.com
  Subject: Re: About to add WAL write/fsync statistics to pg_stat_wal view
  In-Reply-To: <42ce8bed-823d-9281-f24c-9ed3bfe71bc9@oss.nttdata.com>
  References: <0509ad67b585a5b86a83d445dfa75392@oss.nttdata.com> <3df6e23e3e1e9cd95b08c943ef320046@oss.nttdata.com> <CAKFQuwYHX-h3_LkrbNYUguN9fP-YfOVsKyVJ8EaZY2O4Z0upGA@mail.gmail.com> <23a9f71817f616135551e2fde5ef362e@oss.nttdata.com> <a7c255be-ca6e-b31f-b836-74eccf9510a8@oss.nttdata.com> <930cae989a0fe8db6870cbeb5f24cf97@oss.nttdata.com> <9a70efda-6f47-8b1c-0513-419e1185000a@oss.nttdata.com> <6c8932c2b0756971e4b28f06af07be9a@oss.nttdata.com> <4a81fc95615db54b75f59759752b2cef@oss.nttdata.com> <49d412cc-2e39-a487-1861-a8560ebb88cb@oss.nttdata.com> <da0059e5e7282573c52ecffd3554a810@oss.nttdata.com> <11c4230c-9ae5-0a56-2139-543d8453ab75@oss.nttdata.com> <718082d08f9971608bc0c63d2f8a79bb@oss.nttdata.com> <60cb8410-1390-9078-bc74-d69c823c755d@oss.nttdata.com> <18725ca54edbf6af2c0e500055a66fd9@oss.nttdata.com> <c4e1ebb8-6cd7-ebbf-a770-c65ea54239ce@oss.nttdata.com> <CAKFQuwYjiohvS9C5Uiq+jn7eQPFtqEpPLa7-M2HQZq7dh3K+PA@mail.gmail.com> <42ce8bed-823d-9281-f24c-9ed3bfe71bc9@oss.nttdata.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox