X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id A2CFFD1EB57 for ; Thu, 29 Apr 2004 18:54:52 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 95162-09 for ; Thu, 29 Apr 2004 18:54:34 -0300 (ADT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 9EA52D1B582 for ; Thu, 29 Apr 2004 18:54:31 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i3TLsWkY017176; Thu, 29 Apr 2004 17:54:32 -0400 (EDT) To: "Gary Doades" Cc: pgsql-performance@postgresql.org Subject: Re: planner/optimizer question In-reply-to: <409172FA.1509.14C7E00E@localhost> References: <409153EF.24647.144E9BF7@localhost> <409172FA.1509.14C7E00E@localhost> Comments: In-reply-to "Gary Doades" message dated "Thu, 29 Apr 2004 21:26:18 +0100" Date: Thu, 29 Apr 2004 17:54:31 -0400 Message-ID: <17175.1083275671@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200404/507 X-Sequence-Number: 6807 "Gary Doades" writes: > In this example the statistics don't matter. Don't they? A prior poster mentioned that he thought MSSQL tries to keep all its indexes in memory. I wonder whether you are giving Postgres a fair chance to do the same. What postgresql.conf settings are you using? regards, tom lane