pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michel SALAIS <msalais@msym.fr>
Cc: 'Julien Rouhaud' <rjuju123@gmail.com>
Cc: 'postgres performance list' <pgsql-performance@postgresql.org>
Subject: Re: sql execution time in pg_stat_statements
Date: Fri, 10 Sep 2021 13:42:08 -0400
Message-ID: <4078764.1631295728@sss.pgh.pa.us> (raw)
In-Reply-To: <007201d7a667$1516d860$3f448920$@msym.fr>
References: <005f01d7a5a6$67784b50$3668e1f0$@msym.fr>
	<006601d7a5ab$6e01c780$4a055680$@msym.fr>
	<CAOBaU_Zn5V7vsFaTZKjJgFCb5hQPAQNqV1ro-Kw-VE9n5zBzVQ@mail.gmail.com>
	<007201d7a667$1516d860$3f448920$@msym.fr>

"Michel SALAIS" <msalais@msym.fr> writes:
> I thaught that total_time (total_exec_time + total_plan_time) included I/O but when we have blk_read_time + blk_write_time  equals several times total_time it is difficult to continue to think that...

That's an interesting report, but on the whole I'd be more inclined
to disbelieve the I/O timings than the overall time.  Can you create
a reproducible test case where this happens?  Also, exactly what
PG version and pg_stat_statements version are you using?

			regards, tom lane





view thread (7+ messages)  latest in thread

Message-ID: <4078764.1631295728@sss.pgh.pa.us>
Permalink:  ../4078764.1631295728@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4078764.1631295728@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, msalais@msym.fr, rjuju123@gmail.com
  Subject: Re: sql execution time in pg_stat_statements
  In-Reply-To: <4078764.1631295728@sss.pgh.pa.us>

* 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