pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Franco Bruno Borghesi <franco@akyasociados.com.ar>
To: 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: 28 Jul 2003 11:16:55 -0300
Message-ID: <1059401815.749.7.camel@taz.oficina> (raw)
In-Reply-To: <200307272114.11579.josh@agliodbs.com>
References: <97842368.20030727104901@artis.uni-oldenburg.de>
	<9002.1059322732@sss.pgh.pa.us>
	<200307272114.11579.josh@agliodbs.com>

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.

Please, correct me if I'm wrong.

On Mon, 2003-07-28 at 01:14, Josh Berkus wrote:

> Daniel,
> 
> > > I just wondered if there is a possibility to map my database running
> > > on a linux system completly into memory and to only use disk
> > > accesses for writes.
> >
> > That happens for free, if you have enough RAM.  The kernel will use
> > spare RAM to hold copies of every disk block it's ever read.
> 
> Also, don't forget to raise your effective_cache_size so that PostgreSQL 
> *knows* that you have lots of RAM.

Attachments:

  signature.asc (application/pgp-signature, 186B) download

view thread (13+ messages)  latest in thread

Message-ID: <1059401815.749.7.camel@taz.oficina>
Permalink:  ../1059401815.749.7.camel@taz.oficina/
Also on:    postgresql.org/message-id/1059401815.749.7.camel@taz.oficina

 · 

reply

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: franco@akyasociados.com.ar, josh@agliodbs.com, postgresql@Mig-O.de
  Subject: Re: Mapping a database completly into Memory
  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>

* 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