From: Sean Chittenden <sean@chittenden.org>
To: Brian Hirt <bhirt@mobygames.com>
Cc: scott.marlowe <scott.marlowe@ihs.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Moving postgresql.conf tunables into 2003...
Date: Thu, 3 Jul 2003 16:25:35 -0700
Message-ID: <20030703232535.GT72567@perrin.int.nxad.com> (raw)
In-Reply-To: <FFE90B90-AD9D-11D7-BB7D-000393D9FD00@mobygames.com>
References: <Pine.LNX.4.33.0307031405180.22660-100000@css120.ihs.com>
<FFE90B90-AD9D-11D7-BB7D-000393D9FD00@mobygames.com>
> I'm curious how many of the configuration values can be determined
> automatically, or with the help of some script. It seem like there
> could be some perl script in contrib that could help figure this out.
> Possibly you are asked a bunch of questions and then the values are
> computed based on that. Something like:
>
> How many tables will the system have?
> How much memory will be available to the postmaster?
> How many backends will there typically be?
> What is the avg seek time of the drive?
> What's the transfer rate of the drive?
>
> Seems to me that a lot of reasonable default values can be figure out
> from these basic questions. FSM settings, Sort Mem, Random Page Cost,
> Effective Cache Size, Shared Memor, etc, etc.
Someone was working on a thing called pg_autotune or some such program
that'd do exactly what you're thinking of.
http://archives.postgresql.org/pgsql-performance/2002-10/msg00101.phphttp://gborg.postgresql.org/project/pgautotune/projdisplay.php
--
Sean Chittenden
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: sean@chittenden.org, bhirt@mobygames.com, scott.marlowe@ihs.com
Subject: Re: Moving postgresql.conf tunables into 2003...
In-Reply-To: <20030703232535.GT72567@perrin.int.nxad.com>
References: <Pine.LNX.4.33.0307031405180.22660-100000@css120.ihs.com> <FFE90B90-AD9D-11D7-BB7D-000393D9FD00@mobygames.com> <20030703232535.GT72567@perrin.int.nxad.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox