Re: PostgreSQL vs. MySQL

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Andrew Sullivan <andrew(at)libertyrms(dot)info>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: PostgreSQL vs. MySQL
Date: 2003-10-08 17:28:53
Message-ID: 200310081728.h98HSr811803@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-general pgsql-hackers pgsql-performance

Andrew Sullivan wrote:
> On Fri, Jul 04, 2003 at 08:07:18PM +0200, Arjen van der Meijden wrote:
> > > Andrew Sullivan wrote:
> > > results under production conditions, and not bother to read
> > > even the basic "quickstart"-type stuff that is kicking
> > > around.
> > Then please point out where it sais, in the documentation, that the
> > value for the shared_memory of 64 is too low and that 4000 is a nice
> > value to start with?
>
> I think I did indeed speak too soon, as the criticism is a fair one:
> nowhere in the installation instructions or the "getting started"
> docs does it say that you really ought to do some tuning once you
> have the system installed. Can I suggest for the time being that
> something along these lines should go in 14.6.3, "Tuning the
> installation":
>
> ---snip---
> By default, PostgreSQL is configured to run on minimal hardware. As
> a result, some tuning of your installation will be necessary before
> using it for anything other than extremely small databases. At the
> very least, it will probably be necessary to increase your shared
> buffers setting. See Chapter 16 for details on what tuning options
> are available to you.
> ---snip---
>
> > I'm sorry to put this in a such a confronting manner, but you simply
> > can't expect people to search for information that they don't know the
> > existence of.
>
> No need to apologise; I think you're right.

Agreed. Text added to install docs:

<para>
By default, <productname>PostgreSQL</> is configured to run on minimal
hardware. This allows it to start up with almost any hardware
configuration. However, the default configuration is not designed for
optimum performance. To achieve optimum performance, several server
variables must be adjusted, the two most common being
<varname>shared_buffers</varname> and <varname> sort_mem</varname>
mentioned in <![%standalone-include[the documentation]]>
<![%standalone-ignore[<xref linkend="runtime-config-resource-memory">]]>.
Other parameters in <![%standalone-include[the documentation]]>
<![%standalone-ignore[<xref linkend="runtime-config-resource">]]>
also affect performance.
</para>

--
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-docs by date

  From Date Subject
Next Message Josh Berkus 2003-10-08 17:49:55 Re: PostgreSQL vs. MySQL
Previous Message Viktor Vislobokov 2003-10-06 04:17:15 Updated Russian translation of FAQ

Browse pgsql-general by date

  From Date Subject
Next Message Diogo Biazus 2003-10-08 17:31:03 Re: Humor me: Postgresql vs. MySql (esp. licensing)
Previous Message Oliver Elphick 2003-10-08 17:20:40 Re: Humor me: Postgresql vs. MySql (esp. licensing)

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2003-10-08 17:38:30 Re: setlocale
Previous Message Andrew Dunstan 2003-10-08 16:56:24 setlocale

Browse pgsql-performance by date

  From Date Subject
Next Message Neil Conway 2003-10-08 17:43:31 Re: Sun performance - Major discovery!
Previous Message Jason Hihn 2003-10-08 17:13:26 Re: Compare rows