X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 97FFF3A5335 for ; Mon, 22 Nov 2004 19:55:01 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 52034-08 for ; Mon, 22 Nov 2004 19:54:55 +0000 (GMT) Received: from davinci.ethosmedia.com (server226.ethosmedia.com [209.128.84.226]) by svr1.postgresql.org (Postfix) with ESMTP id 620273A4032 for ; Mon, 22 Nov 2004 19:54:55 +0000 (GMT) Received: from [64.81.245.111] (account josh@agliodbs.com HELO temoku.sf.agliodbs.com) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 6697277; Mon, 22 Nov 2004 11:56:26 -0800 From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: pgsql-performance@postgresql.org Subject: Re: help needed -- sequential scan problem Date: Mon, 22 Nov 2004 11:57:38 -0800 User-Agent: KMail/1.6.2 Cc: sarlav kumar References: <20041122194125.8040.qmail@web51302.mail.yahoo.com> In-Reply-To: <20041122194125.8040.qmail@web51302.mail.yahoo.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <200411221157.38900.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/333 X-Sequence-Number: 9287 Sarlav, > I am sorry, I am not aware of what random_page_cost is, as I am new to > Postgres. What does it signify and how do I reduce random_page_cost? It's a parameter in your postgresql.conf file. After you test it, you will want to change it there and reload the server (pg_ctl reload). However, you can test it on an individual connection: SET random_page_cost=2.5 (the default is 4.0) -- --Josh Josh Berkus Aglio Database Solutions San Francisco