Skip site navigation (1) Skip section navigation (2)

Re: Overhauling GUCS

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Josh Berkus <josh(at)agliodbs(dot)com>
Subject: Re: Overhauling GUCS
Date: 2008-05-31 22:32:51
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Josh Berkus wrote:
> Currently, PostgreSQL,conf and our set of GUC configurations suffer from
> 4 large problems:

As we have talked about it before, you know that I agree that the GUC system 
could use some improvements.  But I'm a bit surprised about some of your 

> 1. Most people have no idea how to set these.

Could you clarify this?  I can't really believe that people are incapable of 
editing a configuration file.

> 2. The current postgresql.conf file is a huge mess of 194 options, the
> vast majority of which most users will never touch.

My opinion has always been that we should provide a default file with only the 
essential options instead of all of them.  I see this as a the major problem, 
because people are overwhelmed and consequently don't set anything.

> 3. GUCS lists are kept in 3 different places (guc.c, postgresql.conf,
> and the settings.sgml), which are only synched with each other manually.

While this is not ideal, I can't really see who this is a major problem, at 
least from the perspective of the user.

> 4. We don't seem to be getting any closer to autotuning.

True.  But how does your proposal address this?

In response to


pgsql-hackers by date

Next:From: David E. WheelerDate: 2008-05-31 22:38:40
Subject: Re: Overhauling GUCS
Previous:From: David E. WheelerDate: 2008-05-31 21:34:27
Subject: Re: Overhauling GUCS

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group