Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dqJcU-0006h9-2F for pgsql-performance@arkaria.postgresql.org; Fri, 08 Sep 2017 13:46:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dqJcT-0006Ud-Jl for pgsql-performance@arkaria.postgresql.org; Fri, 08 Sep 2017 13:46:53 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dqJai-0003Jf-KH for pgsql-performance@postgresql.org; Fri, 08 Sep 2017 13:45:04 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dqJaf-000720-VM for pgsql-performance@postgresql.org; Fri, 08 Sep 2017 13:45:03 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v88Dinng015790; Fri, 8 Sep 2017 09:44:49 -0400 From: Tom Lane To: Neto pr cc: Igor Neyman , "pgsql-performance@postgresql.org" Subject: Re: Explain Analyze - actual time in loops In-reply-to: References: Comments: In-reply-to Neto pr message dated "Fri, 08 Sep 2017 06:08:08 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <15788.1504878289.1@sss.pgh.pa.us> Date: Fri, 08 Sep 2017 09:44:49 -0400 Message-ID: <15789.1504878289@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org Neto pr writes: > After analyzing, I saw that in some places of the plan, it is being used > Parallelism. Does this explain why the final value spent (in minutes) to go > through the index (184 minutes) is greater than the total query time (66 > minutes)? I was just about to ask you about that. If this is under a Gather node, I believe that the numbers include time expended in all processes. So if you had three or more workers these results would make sense. regards, tom lane -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance