From: | Chris Browne <cbbrowne(at)acm(dot)org> |
---|---|
To: | pgsql-advocacy(at)postgresql(dot)org |
Subject: | Re: Postgres v MySQL 5.0 |
Date: | 2006-11-10 20:53:56 |
Message-ID: | 60ejsbf2fv.fsf@dba2.int.libertyrms.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-advocacy |
usleepless(at)gmail(dot)com writes:
> i agree. lots of times postgresql is perceived as slow, because of
> out-of-the-box configuration. most importantly, the memory
> configuration.
The defaults are a lot higher than they used to be, so I suspect that
with 8.2, this may be less of an issue than it has traditionally been,
particularly in that 8.2 uses various resources more effectively than
has been true in the past.
To wit... I did a "CVS HEAD" install the other day, to do some
Slony-I testing. The *ONLY* config change I made was to change the
port number. (Because the box already has 9 other production PG
instances running on it! ;-))
The defaults for various interesting things were...
max_connections = 100
shared_buffers = 32MB
max_fsm_pages = 204800
The default work_mem was 1MB, which is arguably low, on a machine with
15GB of RAM :-).
But frankly, I don't see any particular problem with the defaults.
32MB is *not* an over-tiny amount of shared memory; it's enough to be
meaningful for more than merely a trivial workload.
It looks like initdb is doing a better job of detecting system sizing
than it used to, and the default numbers are no longer embarrassingly
low. The 524K of yesteryear *was* embarrassing, but 32MB seems enough
larger to me.
--
(format nil "~S(at)~S" "cbbrowne" "linuxfinances.info")
http://linuxdatabases.info/info/postgresql.html
Rules of the Evil Overlord #207. "Employees will have conjugal visit
trailers which they may use provided they call in a replacement and
sign out on the timesheet. Given this, anyone caught making out in a
closet while leaving their station unmonitored will be shot."
<http://www.eviloverlord.com/>
From | Date | Subject | |
---|---|---|---|
Next Message | Lukas Kahwe Smith | 2006-11-10 20:55:19 | Re: Postgres v MySQL 5.0 |
Previous Message | usleepless | 2006-11-10 20:31:45 | Re: Postgres v MySQL 5.0 |