Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 001061337BCB for ; Fri, 14 Jan 2011 17:20:42 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 59378-10 for ; Fri, 14 Jan 2011 21:20:36 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id E33C81337BC3 for ; Fri, 14 Jan 2011 17:20:34 -0400 (AST) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Fri, 14 Jan 2011 15:20:34 -0600 Message-Id: <4D3069B902000025000395FC@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Fri, 14 Jan 2011 15:20:25 -0600 From: "Kevin Grittner" To: "Achilleas Mantzios" , Subject: Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time References: <201101111753.22602.achill@matrix.gatewaynet.com> <201101141752.34986.achill@matrix.gatewaynet.com> <4D30588002000025000395E7@gw.wicourts.gov> <201101142259.28928.achill@matrix.gatewaynet.com> In-Reply-To: <201101142259.28928.achill@matrix.gatewaynet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-4.21 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201101/91 X-Sequence-Number: 36531 Achilleas Mantzios wrote: > What i am asking is ways to understand what is going on, and what > to expect when i will have to actually perform the production > upgrade to 9.0.2 Sorry to have focused on the wrong issues from your latest post. Here's what I suggest to try to get you the best information. (1) Abandon this thread, start a new one on the performance list with a different subject line. (2) Present the results of running one particular query on the two different PostgreSQL versions on the same machine, preferably with identical data, and after running VACUUM ANALYZE on the databases. (3) Review this page and include the related information -- schema, configuration, hardware, etc.: http://wiki.postgresql.org/wiki/SlowQueryQuestions On that list, with the above information, you will probably get exactly what you seem to want at this point in the discussion, which has nothing to do with the subject line of this thread. A lot of people pick which messages to read based on the subject line, so that's probably working against you at the moment. -Kevin