Re: [HACKERS] Changing the default configuration (was Re:

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, 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: [HACKERS] Changing the default configuration (was Re:
Date: 2003-02-13 17:10:56
Message-ID: 200302131710.h1DHAui22918@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-hackers pgsql-performance

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > So, my idea is to add a message at the end of initdb that states people
> > should run the pgtune script before running a production server.
>
> Do people read what initdb has to say?
>
> IIRC, the RPM install scripts hide initdb's output from the user
> entirely. I wouldn't put much faith in such a message as having any
> real effect on people...

Yes, that is a problem. We could show something in the server logs if
pg_tune hasn't been run. Not sure what else we can do, but it would
give folks a one-stop thing to run to deal with performance
configuration.

We could prevent the postmaster from starting unless they run pg_tune or
if they have modified postgresql.conf from the default. Of course,
that's pretty drastic.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-advocacy by date

  From Date Subject
Next Message Bruce Momjian 2003-02-13 18:49:06 Re: Changing the default configuration (was Re:
Previous Message Tom Lane 2003-02-13 15:20:20 Re: set_ps_display on solaris x86

Browse pgsql-hackers by date

  From Date Subject
Next Message mlw 2003-02-13 17:13:00 Re: location of the configuration files
Previous Message mlw 2003-02-13 16:53:26 Re: location of the configuration files

Browse pgsql-performance by date

  From Date Subject
Next Message Chantal Ackermann 2003-02-13 18:06:03 cost and actual time
Previous Message Tom Lane 2003-02-13 15:06:29 Re: [HACKERS] Changing the default configuration (was Re: