From: hubert depesz lubaczewski <depesz@depesz.com>
To: pgsql-general mailing list <pgsql-general@postgresql.org>
Subject: explain analyze output with parallel workers - question about meaning of information for explain.depesz.com
Date: Fri, 17 Nov 2017 16:12:54 +0100
Message-ID: <20171117151253.GA27124@depesz.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
Hi,
up to parallel executions, when we had node in explain analyze showing
"loops=x" with x more than 1, it meant that the "actual time" had to be
multiplied by loops to get real time spent in a node.
For example, check step 13 in https://explain.depesz.com/s/gNBd
It shows time of 3ms, but loops of 1873, so the actual time is ~ 5600ms.
But with parallel execution it seems to be no longer the case.
For example:
https://explain.depesz.com/s/LTMp
or
https://explain.depesz.com/s/QHRi
It looks that the actual time is really actual time, and loops is
"worker nodes + 1".
Is that really the case? Should I, for explain.depesz.com, when dealing
with partial* and parallel* nodes, use "loops=1" for calculation of
exclusive/inclusive time? always? some other nodes?
or am I missing something in here?
Best regards,
depesz
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
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: depesz@depesz.com
Subject: Re: explain analyze output with parallel workers - question about meaning of information for explain.depesz.com
In-Reply-To: <20171117151253.GA27124@depesz.com>
References: <20171117151253.GA27124@depesz.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