From: Tom Lane <tgl@sss.pgh.pa.us>
To: Franco Bruno Borghesi <franco@akyasociados.com.ar>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: Daniel Migowski <postgresql@Mig-O.de>
Cc: pgsql-performance@postgresql.org
Subject: Re: Mapping a database completly into Memory
Date: Mon, 28 Jul 2003 12:25:57 -0400
Message-ID: <10185.1059409557@sss.pgh.pa.us> (raw)
In-Reply-To: <1059401815.749.7.camel@taz.oficina>
References: <97842368.20030727104901@artis.uni-oldenburg.de>
<9002.1059322732@sss.pgh.pa.us>
<200307272114.11579.josh@agliodbs.com>
<1059401815.749.7.camel@taz.oficina>
Franco Bruno Borghesi <franco@akyasociados.com.ar> writes:
> wouldn't also increasing shared_buffers to 64 or 128 MB be a good
> performance improvement? This way, pages belonging to heavily used
> indexes would be already cached by the database itself.
Not necessarily. The trouble with large shared_buffers settings is you
end up with lots of pages being doubly cached (both in PG's buffers and
in the kernel's disk cache), thus wasting RAM. If we had a portable way
of preventing the kernel from caching the same page, it would make more
sense to run with large shared_buffers.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, franco@akyasociados.com.ar, josh@agliodbs.com, postgresql@Mig-O.de
Subject: Re: Mapping a database completly into Memory
In-Reply-To: <10185.1059409557@sss.pgh.pa.us>
References: <97842368.20030727104901@artis.uni-oldenburg.de> <9002.1059322732@sss.pgh.pa.us> <200307272114.11579.josh@agliodbs.com> <1059401815.749.7.camel@taz.oficina> <10185.1059409557@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox