Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 9D25D9FC111 for ; Fri, 27 Apr 2007 16:10:55 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 55014-03 for ; Fri, 27 Apr 2007 16:10:50 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from davinci.ethosmedia.com (server227.ethosmedia.com [209.128.84.227]) by postgresql.org (Postfix) with ESMTP id 6A7C69FC10E for ; Fri, 27 Apr 2007 16:10:52 -0300 (ADT) X-EthosMedia-Virus-Scanned: no infections found Received: from [64.81.245.111] (account josh@agliodbs.com HELO [192.168.1.27]) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP-TLS id 12016073; Fri, 27 Apr 2007 12:14:59 -0700 From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: pgsql-performance@postgresql.org Subject: Re: Feature Request --- was: PostgreSQL Performance Tuning Date: Fri, 27 Apr 2007 12:11:11 -0700 User-Agent: KMail/1.8 Cc: Bill Moran , Dan Harris References: <46323744.5020703@drivefaster.net> <20070427141127.cdac56fb.wmoran@collaborativefusion.com> In-Reply-To: <20070427141127.cdac56fb.wmoran@collaborativefusion.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704271211.12439.josh@agliodbs.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/485 X-Sequence-Number: 24362 Bill, > The only one that seems practical (to me) is random_page_cost. The > others are all configuration options that I (as a DBA) want to be able > to decide for myself. Actually, random_page_cost *should* be a constant "4.0" or "3.5", which represents the approximate ratio of seek/scan speed which has been relatively constant across 6 years of HDD technology. The only reason we make it a configuration variable is that there's defects in our cost model which cause users to want to tinker with it. Mind you, that's gotten better in recent versions as well. Lately I mostly tinker with effective_cache_size and the various cpu_* stats rather than modifying random_page_cost. -- --Josh Josh Berkus PostgreSQL @ Sun San Francisco