Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1We7LU-0003mH-6t for pgsql-admin@arkaria.postgresql.org; Sat, 26 Apr 2014 18:29:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1We7LT-0006oi-Mo for pgsql-admin@arkaria.postgresql.org; Sat, 26 Apr 2014 18:29:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1We7LR-0006n1-Vb for pgsql-admin@postgresql.org; Sat, 26 Apr 2014 18:29:02 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1We7LP-0000Dq-9c for pgsql-admin@postgresql.org; Sat, 26 Apr 2014 18:29:01 +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 s3QIRhgH007957; Sat, 26 Apr 2014 14:27:43 -0400 From: Tom Lane To: Michael Monnerie cc: pgsql-admin@postgresql.org Subject: Re: EXPLAIN time difference in real In-reply-to: <535BF163.9070401@is.it-management.at> References: <535BACAC.90600@is.it-management.at> <535BF163.9070401@is.it-management.at> Comments: In-reply-to Michael Monnerie message dated "Sat, 26 Apr 2014 19:48:19 +0200" Date: Sat, 26 Apr 2014 14:27:43 -0400 Message-ID: <7956.1398536863@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Michael Monnerie writes: > Tried that: > EXPLAIN ANALYZE.... > Total runtime: 280.537 ms > EXPLAIN:LOG: duration: 1501.807 ms statement: EXPLAIN ANALYZE VERBOSE > SELECT > So again 1500ms versus 280ms. Why? Could the planning time possibly account for that? How long does a plain EXPLAIN of the same query take? regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin