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 595A8D1B4E5 for ; Wed, 22 Oct 2003 21:05:58 +0000 (GMT) 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 90219-05 for ; Wed, 22 Oct 2003 18:05:28 -0300 (ADT) Received: from davinci.ethosmedia.com (unknown [209.128.84.228]) by svr1.postgresql.org (Postfix) with ESMTP id 428EFD1B4EF for ; Wed, 22 Oct 2003 18:05:26 -0300 (ADT) Received: from [66.219.92.2] (HELO temoku) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.0.2) with ESMTP id 3807877; Wed, 22 Oct 2003 14:06:05 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: "Medora Schauer" , "postgresql" Subject: Re: slow select Date: Wed, 22 Oct 2003 14:03:12 -0700 User-Agent: KMail/1.4.3 References: <906E2C446A276048A1BE283F17BCB12CDB422A@encounter.fairind.fairfield.com> In-Reply-To: <906E2C446A276048A1BE283F17BCB12CDB422A@encounter.fairind.fairfield.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200310221403.12570.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/586 X-Sequence-Number: 4334 Medora, > So why did were the indices not used before when they yield a better plan? Your .conf settings, most likely. I'd lower your random_page_cost and rais= e=20 your effective_cache_size. --=20 -Josh Berkus Aglio Database Solutions San Francisco