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

Re: Changing the default configuration (was Re:

From: Justin Clift <justin(at)postgresql(dot)org>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>,Merlin Moncure <merlin(dot)moncure(at)rcsonline(dot)com>,PostgresSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>,pgsql-advocacy(at)postgresql(dot)org
Subject: Re: Changing the default configuration (was Re:
Date: 2003-02-11 17:29:19
Message-ID: 3E4932EF.3070604@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-advocacypgsql-hackerspgsql-performance
Josh Berkus wrote:
> Tom, Justin,
<snip>
> 
> What if we supplied several sample .conf files, and let the user choose which 
> to copy into the database directory?   We could have a "high read 
> performance" profile, and a "transaction database" profile, and a 
> "workstation" profile, and a "low impact" profile.   We could even supply a 
> Perl script that would adjust SHMMAX and SHMMALL on platforms where this can 
> be done from the command line.


This might have value as the next step in the process of:

a) Are we going to have better defaults?

or

b) Let's stick with the current approach.


If we decide to go with better (changed) defaults, we may also be able 
to figure out a way of having profiles that could optionally be chosen from.

As a longer term thought, it would be nice if the profiles weren't just 
hard-coded example files, but more of:

pg_autotune --setprofile=xxx

Or similar utility, and it did all the work.  Named profiles being one 
capability, and other tuning measurements (i.e. cpu costings, disk 
performance profiles, etc) being the others.

Regards and best wishes,

Justin Clift

-- 
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
    - Indira Gandhi


In response to

pgsql-performance by date

Next:From: Justin CliftDate: 2003-02-11 17:34:13
Subject: Re: Changing the default configuration (was Re:
Previous:From: Kaare RasmussenDate: 2003-02-11 17:26:46
Subject: Re: Changing the default configuration (was Re: [pgsql-advocacy]

pgsql-hackers by date

Next:From: Justin CliftDate: 2003-02-11 17:34:13
Subject: Re: Changing the default configuration (was Re:
Previous:From: Kaare RasmussenDate: 2003-02-11 17:26:46
Subject: Re: Changing the default configuration (was Re: [pgsql-advocacy]

pgsql-advocacy by date

Next:From: Justin CliftDate: 2003-02-11 17:34:13
Subject: Re: Changing the default configuration (was Re:
Previous:From: Kaare RasmussenDate: 2003-02-11 17:26:46
Subject: Re: Changing the default configuration (was Re: [pgsql-advocacy]

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