X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 3155FB43A0A for ; Thu, 3 Jul 2003 20:39:07 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 78166-01 for ; Thu, 3 Jul 2003 17:38:55 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id EBADEB439BB for ; Thu, 3 Jul 2003 17:38:54 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h63KctQQ002423; Thu, 3 Jul 2003 16:38:55 -0400 (EDT) To: Sean Chittenden Cc: pgsql-performance@postgresql.org Subject: Re: Moving postgresql.conf tunables into 2003... In-reply-to: <20030703190502.GR72567@perrin.int.nxad.com> References: <20030703190502.GR72567@perrin.int.nxad.com> Comments: In-reply-to Sean Chittenden message dated "Thu, 03 Jul 2003 12:05:02 -0700" Date: Thu, 03 Jul 2003 16:38:55 -0400 Message-ID: <2422.1057264735@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200307/35 X-Sequence-Number: 2328 Sean Chittenden writes: > What are the odds of going through and revamping some of the tunables > in postgresql.conf for the 7.4 release? I was arguing awhile back for bumping the default shared_buffers up, but the discussion trailed off with no real resolution. > I was just working with > someone on IRC and on their 7800 RPM IDE drives, their > random_page_cost was ideally suited to be 0.32: a far cry from 4. It is not physically sensible for random_page_cost to be less than one. The system only lets you set it there for experimental purposes; there is no way that postgresql.conf.sample will recommend it. If you needed to push it below one to force indexscans, there is some other problem that needs to be solved. (I'd wonder about index correlation myself; we know that that equation is pretty bogus.) > I know Josh is working on revamping the postgresql.conf file, but > would it be possible to include suggested values for various bits of > hardware and then solicit contributions from admins on this list who > have tuned their DB correctly? I think such material belongs in the SGML docs, not hidden away in a config file that people may not look at... regards, tom lane