Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFiMk-0001eY-73 for pgsql-general@arkaria.postgresql.org; Fri, 17 Nov 2017 15:15:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eFiMj-0001i6-Es for pgsql-general@arkaria.postgresql.org; Fri, 17 Nov 2017 15:15:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eFiKC-0005kQ-KD for pgsql-general@postgresql.org; Fri, 17 Nov 2017 15:13:00 +0000 Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eFiK9-00039O-7F for pgsql-general@postgresql.org; Fri, 17 Nov 2017 15:13:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=depesz.com; s=20170201; h=Content-Type:MIME-Version:Reply-To:Message-ID:Subject:To:Sender:From:Date; bh=1/X9ZAUTYjrVAxGh+mqIHB6BHRWQlupvi258Hh4oQPA=; b=RxRj9C4SPpEbMibvTGmCUPJMolWavzSST/7FCUlf04uhrSwS64EGDk7MzB9bg3YzEQ6uNWl/6rCKeuBXTAiVOJC/yYzaFzjsrz5Qy+M0NzCxQLBqOAYT2JiLnbfdv60KOZu69bj/A1mrwJSYSW7NiSV/BLDy5mvcbThDEUAsmmI=; Received: from lana.depesz.com ([88.198.49.178] helo=depesz.com) by depesz.com with esmtpa (Exim 4.84_2) (envelope-from ) id 1eFiK7-0000tR-4a for pgsql-general@postgresql.org; Fri, 17 Nov 2017 16:12:55 +0100 Date: Fri, 17 Nov 2017 16:12:54 +0100 From: hubert depesz lubaczewski To: pgsql-general mailing list Subject: explain analyze output with parallel workers - question about meaning of information for explain.depesz.com Message-ID: <20171117151253.GA27124@depesz.com> Reply-To: depesz@depesz.com MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org 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