Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id B80DB9FBD98 for ; Thu, 7 Jun 2007 08:28:15 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 01182-07 for ; Thu, 7 Jun 2007 08:28:07 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from cassarossa.samfundet.no (cassarossa.samfundet.no [129.241.93.19]) by postgresql.org (Postfix) with ESMTP id BA9F59FBE94 for ; Thu, 7 Jun 2007 08:28:11 -0300 (ADT) Received: from trofast.sesse.net ([129.241.93.32]) by cassarossa.samfundet.no with esmtp (Exim 4.50) id 1HwG9w-00086l-RJ; Thu, 07 Jun 2007 13:28:09 +0200 Received: from sesse by trofast.sesse.net with local (Exim 3.36 #1 (Debian)) id 1HwG9v-00064X-00; Thu, 07 Jun 2007 13:28:07 +0200 Date: Thu, 7 Jun 2007 13:28:07 +0200 From: "Steinar H. Gunderson" To: Kurt Overberg Cc: pgsql-performance@postgresql.org Subject: Re: Weird 8.2.4 performance Message-ID: <20070607112807.GA23315@uio.no> Mail-Followup-To: Kurt Overberg , pgsql-performance@postgresql.org References: <371D1936-E96B-4865-AEEF-C82AC41C2982@hotdogrecords.com> <46674AEF.6040803@paradise.net.nz> <4667CE87.30101@archonet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Operating-System: Linux 2.6.20.4 on a x86_64 X-Message-Flag: Outlook? --> http://www.mozilla.org/products/thunderbird/ User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/126 X-Sequence-Number: 25159 On Thu, Jun 07, 2007 at 07:18:22AM -0400, Kurt Overberg wrote: > - My production environment is running RedHat 2.6.9.ELsmp on a server > with 16GB of memory Seriously, this (the RAM amount) _is_ all the difference. (You don't say how much RAM is in your Mac, but something tells me it's not 16GB.) If you install 8.2.4 on your server, there's no reason why the query you pasted shouldn't be at least as fast as on 8.0. > Is there a primer somewhere on how to read EXPLAIN output? Yes, the documentation contains one. /* Steinar */ -- Homepage: http://www.sesse.net/