Re: Mount database on RAM disk?

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Stuart Bishop <stuart(at)stuartbishop(dot)net>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Mount database on RAM disk?
Date: 2005-07-08 03:05:42
Message-ID: 42CDED86.3000108@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Stuart Bishop wrote:
> I'm putting together a road map on how our systems can scale as our load
> increases. As part of this, I need to look into setting up some fast read
> only mirrors of our database. We should have more than enough RAM to fit
> everything into memory. I would like to find out if I could expect better
> performance by mounting the database from a RAM disk, or if I would be
> better off keeping that RAM free and increasing the effective_cache_size
> appropriately.

In theory yes if you can fit the entire database onto a ram disk then
you would see a performance benefit.

Sincerely,

Joshua D. Drake

>
> I'd also be interested in knowing if this is dependant on whether I am
> running 7.4, 8.0 or 8.1.
>
>

--
Your PostgreSQL solutions provider, Command Prompt, Inc.
24x7 support - 1.800.492.2240, programming, and consulting
Home of PostgreSQL Replicator, plPHP, plPerlNG and pgPHPToolkit
http://www.commandprompt.com / http://www.postgresql.org

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Chris Browne 2005-07-08 03:30:09 Re: Mount database on RAM disk?
Previous Message Stuart Bishop 2005-07-08 01:32:40 Mount database on RAM disk?