pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PFC <lists@peufeu.com>
To: Matt Davies | Postgresql List <matt-postgresql@mattdavies.net>
To: Charles A. Landemaine <landemaine@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Loading the entire DB into RAM
Date: Fri, 07 Apr 2006 19:12:12 +0200
Message-ID: <op.s7nd2mwncigqcu@apollo13> (raw)
In-Reply-To: <44367D22.9060007@mattdavies.net>
References: <e6575a30604070737n20b2d7a4l33ba51dcbf4527a@mail.gmail.com>
	<44367D22.9060007@mattdavies.net>

** This has not been tested.

	Create a ramdisk of required size
	Create a Linux software RAID mirror between the ramdisk, and a partition  
of the same size.
	Mark the physical-disk as write-mostly (reads will go to the ramdisk)
	Format it and load data...

	On reboot you'll get a RAID1 mirror with 1 failed drive (because the  
ramdisk is dead of course). Just recreate the ramdisk and resync.

	



view thread (7+ messages)

Message-ID: <op.s7nd2mwncigqcu@apollo13>
Permalink:  ../op.s7nd2mwncigqcu@apollo13/
Also on:    postgresql.org/message-id/op.s7nd2mwncigqcu@apollo13

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: lists@peufeu.com, matt-postgresql@mattdavies.net, landemaine@gmail.com
  Subject: Re: Loading the entire DB into RAM
  In-Reply-To: <op.s7nd2mwncigqcu@apollo13>

* 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