From: Vivek Khera <khera@kcilink.com>
To: pgsql-performance@postgresql.org
Subject: Re: Mapping a database completly into Memory
Date: Tue, 29 Jul 2003 11:22:40 -0400
Message-ID: <x7oezde4sf.fsf@yertle.int.kciLink.com> (raw)
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>
>>>>> "TL" == Tom Lane <tgl@sss.pgh.pa.us> writes:
TL> 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.
TL> Not necessarily. The trouble with large shared_buffers settings is you
TL> end up with lots of pages being doubly cached (both in PG's buffers and
I think if you do a lot of inserting/updating to your table, then more
SHM is better (and very high fsm settings), since you defer pushing
out the dirty pages to the disk. For read-mostly, I agree that
letting the OS do the caching is a better way.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: khera@kciLink.com Rockville, MD +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/
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: khera@kcilink.com
Subject: Re: Mapping a database completly into Memory
In-Reply-To: <x7oezde4sf.fsf@yertle.int.kciLink.com>
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> <x7oezde4sf.fsf@yertle.int.kciLink.com>
* 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