Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 038D49FA31E for ; Thu, 4 Jan 2007 21:12:56 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 58461-06 for ; Thu, 4 Jan 2007 21:12:46 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 4FF8F9FA0B7 for ; Thu, 4 Jan 2007 21:12:51 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id l051CoJT007599; Thu, 4 Jan 2007 20:12:50 -0500 (EST) To: "Dave Dutcher" cc: pgsql-performance@postgresql.org Subject: Re: Slow Query on Postgres 8.2 In-reply-to: <006801c73058$7eb7d2a0$8300a8c0@tridecap.com> References: <006801c73058$7eb7d2a0$8300a8c0@tridecap.com> Comments: In-reply-to "Dave Dutcher" message dated "Thu, 04 Jan 2007 17:31:43 -0600" Date: Thu, 04 Jan 2007 20:12:49 -0500 Message-ID: <7598.1167959569@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/62 X-Sequence-Number: 22663 "Dave Dutcher" writes: > I am looking at upgrading from 8.1.2 to 8.2.0, and I've found a query which > runs a lot slower. Um ... what indexes has this table got exactly? It's very unclear what alternatives the planner is being faced with. regards, tom lane