pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Daniel Migowski <postgresql@Mig-O.de>
Cc: pgsql-performance@postgresql.org
Subject: Re: Mapping a database completly into Memory
Date: Sun, 27 Jul 2003 12:18:52 -0400
Message-ID: <9002.1059322732@sss.pgh.pa.us> (raw)
In-Reply-To: <97842368.20030727104901@artis.uni-oldenburg.de>
References: <97842368.20030727104901@artis.uni-oldenburg.de>

Daniel Migowski <postgresql@Mig-O.de> writes:
> 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.

			regards, tom lane



view thread (13+ messages)  latest in thread

Message-ID: <9002.1059322732@sss.pgh.pa.us>
Permalink:  ../9002.1059322732@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9002.1059322732@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, postgresql@Mig-O.de
  Subject: Re: Mapping a database completly into Memory
  In-Reply-To: <9002.1059322732@sss.pgh.pa.us>
  References: <97842368.20030727104901@artis.uni-oldenburg.de> <9002.1059322732@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