pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim Nasby <decibel@decibel.org>
To: Michael Stone <mstone+postgres@mathom.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: Feature Request --- was: PostgreSQL Performance Tuning
Date: Fri, 27 Apr 2007 17:12:21 +0100
Message-ID: <1EEBDF47-F5E5-477E-B6A2-4F2D2E097F59@decibel.org> (raw)
In-Reply-To: <20070427143023.GA2422@mathom.us>
References: <OFC96167D5.6BB63AC2-ON652572C9.003B5263-652572C9.003E4142@lntinfotech.com>
	<46310247.2050802@pinpointresearch.com>
	<463158DD.3060602@mochima.com>
	<2679.1177642153@sss.pgh.pa.us>
	<4631FA55.4010406@mochima.com>
	<20070427143023.GA2422@mathom.us>

On Apr 27, 2007, at 3:30 PM, Michael Stone wrote:
> On Fri, Apr 27, 2007 at 09:27:49AM -0400, Carlos Moreno wrote:
>> Notice that the second part of my suggestion covers this --- have  
>> additional
>> switches to initdb so that the user can tell it about estimates on  
>> how the DB
>> will be used:  estimated size of the DB, estimated percentage of  
>> activity that
>> will involve writing, estimated percentage of activity that will  
>> be transactions,
>> percentage that will use indexes, percentage of queries that will  
>> be complex,
>> etc. etc.
>
> If the person knows all that, why wouldn't they know to just change  
> the config parameters?

Because knowing your expected workload is a lot easier for many  
people than knowing what every GUC does.

Personally, I think it would be a tremendous start if we just  
provided a few sample configs like MySQL does. Or if someone wanted  
to get fancy they could stick a web page somewhere that would produce  
a postgresql.conf based simply on how much available RAM you had,  
since that's one of the biggest performance-hampering issues we run  
into (ie: shared_buffers left at the default of 32MB).
--
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)





view thread (53+ messages)  latest in thread

Message-ID: <1EEBDF47-F5E5-477E-B6A2-4F2D2E097F59@decibel.org>
Permalink:  ../1EEBDF47-F5E5-477E-B6A2-4F2D2E097F59@decibel.org/
Also on:    postgresql.org/message-id/1EEBDF47-F5E5-477E-B6A2-4F2D2E097F59@decibel.org

 · 

reply

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: decibel@decibel.org, mstone+postgres@mathom.us
  Subject: Re: Feature Request --- was: PostgreSQL Performance Tuning
  In-Reply-To: <1EEBDF47-F5E5-477E-B6A2-4F2D2E097F59@decibel.org>
  References: <OFC96167D5.6BB63AC2-ON652572C9.003B5263-652572C9.003E4142@lntinfotech.com> <46310247.2050802@pinpointresearch.com> <463158DD.3060602@mochima.com> <2679.1177642153@sss.pgh.pa.us> <4631FA55.4010406@mochima.com> <20070427143023.GA2422@mathom.us> <1EEBDF47-F5E5-477E-B6A2-4F2D2E097F59@decibel.org>

* 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