Re: Overhauling GUCS - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: Overhauling GUCS
Date
Msg-id 20080605151802.GC16690@svana.org
Whole thread Raw
In response to Re: Overhauling GUCS  (Rainer Bauer <usenet@munnin.com>)
List pgsql-hackers
On Thu, Jun 05, 2008 at 01:23:53AM +0200, Rainer Bauer wrote:
> I think it would be an enourmous help for beginners if they had a "simple"
> tuning tool which would tell them which values where altered (and possibly
> why) from Postgres' default settings based on some basic information.
> Like:
> - machine hardware (disk layout, OS, installed memory, etc.)
> - application usage (no. of clients, read/write activity, etc)

It would be possible to make a program that worked like:
# pg_autotune
Detected 4GB memory, 2.3GB free
Measured random_page_cost=2.3
Select expected usage: (d)edicated, (n)ormal, (t)iny
> t
Shared_buffers 64MB
Configuration stored to /etc/postgresql/8.3/postgresql.conf
#

This would probably solve most issues.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

pgsql-hackers by date:

Previous
From: Nikhils
Date:
Subject: ExecuteTruncate quirk: expects a unique list of relations
Next
From: Teodor Sigaev
Date:
Subject: Re: phrase search