Re: tablespace + RAM disk?

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Cc: "David Parker" <dparker(at)tazznetworks(dot)com>
Subject: Re: tablespace + RAM disk?
Date: 2004-11-20 19:38:43
Message-ID: 200411201138.43162.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

David,

> But, I'm also still interested in the answer to my question: is there
> any reason you could not put an 8.0 tablespace on a RAM disk?

Some people have *talked* about trying it, but nobody yet has reported back.
I can see a few potential problems:

1) The query planner would not be aware, and could not be made aware short of
hacking the source, that one tablespace has different access speeds than the
others;

2) After a crash, you might be unable to recover that tablespace, and PG would
refuse to bring the system back up without it.

However, the best thing to do is to try it. Good luck, and do a write-up for
us!

--
Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Josh Berkus 2004-11-20 19:40:53 Re: index use
Previous Message Tom Lane 2004-11-20 16:48:16 Re: Index usage for sorted query