From: Thomas Kellerer <shammat@gmx.net>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Calculating average block write time
Date: Fri, 4 Nov 2022 10:19:23 +0100
Message-ID: <90374fa3-d750-e1ab-2fad-eaa7142f6b5a@gmx.net> (raw)
I can easily calculate the average block read time using pg_stat_database and divide blk_read_time by blks_read.
While there is a column blk_write_time, it seems that there is no cummulative measure for the total number of blocks written.
Am I missing something, or is this simply not tracked (as of Postgres 15)?
Regards
Thomas
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-general@postgresql.org
Cc: shammat@gmx.net
Subject: Re: Calculating average block write time
In-Reply-To: <90374fa3-d750-e1ab-2fad-eaa7142f6b5a@gmx.net>
References: <90374fa3-d750-e1ab-2fad-eaa7142f6b5a@gmx.net>
* 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