Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 175132E003B for ; Mon, 2 Jun 2008 13:02:19 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 11256-01 for ; Mon, 2 Jun 2008 13:02:09 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from brmea-mail-4.sun.com (brmea-mail-4.Sun.COM [192.18.98.36]) by developer.postgresql.org (Postfix) with ESMTP id 62DE72E0098 for ; Mon, 2 Jun 2008 13:02:08 -0300 (ADT) Received: from fe-amer-09.sun.com ([192.18.109.79]) by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id m52G26jQ018896 for ; Mon, 2 Jun 2008 16:02:06 GMT Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0K1U00M01DB00500@mail-amer.sun.com> (original mail from J.K.Shah@Sun.COM) for pgsql-hackers@postgresql.org; Mon, 02 Jun 2008 10:02:06 -0600 (MDT) Received: from [129.148.168.2] by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0K1U009ARF6Y6SB0@mail-amer.sun.com>; Mon, 02 Jun 2008 10:01:46 -0600 (MDT) Date: Mon, 02 Jun 2008 11:59:21 -0400 From: "Jignesh K. Shah" Subject: Re: Overhauling GUCS In-reply-to: <1212219274.4120.191.camel@ebony.site> To: Simon Riggs Cc: Josh Berkus , pgsql-hackers@postgresql.org Message-id: <484418D9.5040608@sun.com> Organization: Sun Microsystems MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <48409D1E.3070208@agliodbs.com> <1212219274.4120.191.camel@ebony.site> User-Agent: Thunderbird 2.0.0.9 (X11/20080119) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/57 X-Sequence-Number: 119170 Simon Riggs wrote: > > Some other problems I see with GUCs > > * It's not possible to set one parameter depending upon the setting of > another. > To me this is more critical.. Most people I have seen will increase one or few but not all parameters related to memory which can result in loss of performance and productivity in figuring out. What happened to AvailRAM setting and base all memory gucs on that. Ideally PostgreSQL should only create one big memory pool and allow all other variables to change runtime via dba or some tuner process or customized application as long as total is less than the allocated shared_memory and local_memory settings. (This will also reduce the need of restarting Postgres if a value needs to be changed) -Jignesh > * It's always unclear which GUCs can be changed, and when. That is much > more infrequently understood than the meaning of them. > > * We should rename effective_cache_size to something that doesn't sound > like it does what shared_buffers does > > * There is no config verification utility, so if you make a change and > then try to restart and it won't, you are in trouble. > >