Re: initdb profiles

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: initdb profiles
Date: 2005-09-08 01:19:56
Message-ID: 431F91BC.1030608@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:

>Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
>
>
>>All jokes aside, tuning aids are surely needed, but letting initdb guess
>>the required profile isn't going to do it.
>>
>>
>
>initdb is really the wrong place for this anyway, because in many
>situations (RPM installations for instance) initdb is run behind the
>scenes with no opportunity for user interaction. We should be doing
>our best to remove options from initdb, not add them.
>
>I think Andrew has a good point that we need to work more on making
>configuration tuning easier ... but initdb isn't the place.
>
>
>
>

I accept the "run from init.d" argument. So then, is there a case for
increasing the limits that initdb works with, to reflect the steep rise
we have seen in typically available memory at the low end? We currently
try {100, 50, 40, 30, 20, 10} for connections and {1000, 900, 800, 700,
600, 500, 400, 300, 200, 100, 50} for buffers. I think there's arguably
a good case for trying numbers several (4 maybe?) times this large in
both categories. Out own docs state that the default number of shared
buffers is low for efficient use, and it would be nice to try to allow
one connection per standard allowed apache client (default is 256
non-threaded and 400 threaded, I think).

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-09-08 01:22:55 Re: [HACKERS] How to determine date / time of last postmaster restart
Previous Message Oliver Jowett 2005-09-08 01:14:15 Re: statement logging / extended query protocol issues