Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id A53B71337B5D for ; Tue, 11 Jan 2011 12:19:22 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 17115-05 for ; Tue, 11 Jan 2011 16:19:15 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id AB250133798E for ; Tue, 11 Jan 2011 12:19:14 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p0BGJBCt018992; Tue, 11 Jan 2011 11:19:11 -0500 (EST) To: Achilleas Mantzios cc: pgsql-admin@postgresql.org Subject: Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time In-reply-to: <201101111753.22602.achill@matrix.gatewaynet.com> References: <201101111753.22602.achill@matrix.gatewaynet.com> Comments: In-reply-to Achilleas Mantzios message dated "Tue, 11 Jan 2011 17:53:22 +0200" Date: Tue, 11 Jan 2011 11:19:11 -0500 Message-ID: <18991.1294762751@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201101/52 X-Sequence-Number: 36492 Achilleas Mantzios writes: > I have noticed that in 9.0.2 EXPLAIN ANALYZE takes considerably longer time to return than the actual query. I never noticed this in 8.3. Same hardware? What it sounds like is you're running 9.0 on a machine with slow gettimeofday(). regards, tom lane