From: Josh Berkus <josh@agliodbs.com>
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 21:14:11 -0700
Message-ID: <200307272114.11579.josh@agliodbs.com> (raw)
In-Reply-To: <9002.1059322732@sss.pgh.pa.us>
References: <97842368.20030727104901@artis.uni-oldenburg.de>
<9002.1059322732@sss.pgh.pa.us>
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.
--
Josh Berkus
Aglio Database Solutions
San Francisco
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: josh@agliodbs.com, postgresql@Mig-O.de
Subject: Re: Mapping a database completly into Memory
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>
* 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