Re: Postgres performance comments from a MySQL user

From: "Matthew Nuzum" <cobalt(at)bearfruit(dot)org>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "'Kaarel'" <kaarel(at)future(dot)ee>
Cc: "'Justin Clift'" <justin(at)postgresql(dot)org>, "'Jay O'Connor'" <joconnor(at)cybermesa(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgres performance comments from a MySQL user
Date: 2003-06-11 21:33:29
Message-ID: 003701c33061$1a210b40$a322fea9@mattspc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Some databases (MySQL I think) ship several example configurations sized for
different installations. The default is very safe, but it's simply a matter
of choosing between "small.conf", "medium.conf", "big.conf", "huge.conf" and
copying it over the standard "tiny.conf" file.

Each config file contains comments near the top of the file that specify
suggested hardware requirements for using it.

Providing a similar series of config files for postgres would probably cut
the traffic to the performance mailing list significantly and end the need
for discussions such as this. (not that I mind the discussion)

--
Matthew Nuzum
www.bearfruit.org
cobalt(at)bearfruit(dot)org

> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
> Sent: Wednesday, June 11, 2003 3:28 PM
> To: Kaarel
> Cc: Justin Clift; Jay O'Connor; pgsql-general(at)postgresql(dot)org
> Subject: Re: Postgres performance comments from a MySQL user
>
> Kaarel <kaarel(at)future(dot)ee> writes:
> > This makes me wonder why is the default configuration so conservative?
>
> There are still a lot of platforms where desirable settings will cause
> the database to fail to start, because the default kernel limits on
> shared memory are still set for 1980s-vintage hardware.
>
> We have had a policy for a long time that we'd rather the out-of-the-box
> settings be guaranteed to start than that they be optimal for
> performance. No one is going to get as far as testing performance
> if the system won't start for them.
>
> Having said that, though, I do wonder whether we couldn't bump them up a
> little. Are there still any live platforms where the default SHMMAX is
> less than 4 MB? (There was discussion of this a month or two back on
> pghackers, but no conclusion.)
>
> regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Matthew Nuzum 2003-06-11 21:37:09 Re: Postgres performance comments from a MySQL user
Previous Message Andrew Gould 2003-06-11 21:18:39 Re: Pg_dumpall