Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Loading the entire DB into RAM


  • From: PFC <lists(at)peufeu(dot)com>
  • To: "Matt Davies | Postgresql List" <matt-postgresql(at)mattdavies(dot)net>, "Charles A. Landemaine" <landemaine(at)gmail(dot)com>
  • Cc: pgsql-performance(at)postgresql(dot)org
  • Subject: Re: Loading the entire DB into RAM
  • Date: Fri, 07 Apr 2006 19:12:12 +0200
  • Message-id: <op(dot)s7nd2mwncigqcu(at)apollo13>

** 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.

	



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group