From: | "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com> |
---|---|
To: | "Gauthier, Dave" <dave(dot)gauthier(at)intel(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Temporary, In-memory Postgres DB? |
Date: | 2007-11-07 15:39:56 |
Message-ID: | dcc563d10711070739o41cae4c6h897df831a9c9350c@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 11/7/07, Gauthier, Dave <dave(dot)gauthier(at)intel(dot)com> wrote:
>
> This is a real longshot, but here goes...
>
> Is there such a thing as a temporary, probably in-memory, version of a
> Postgres DB? Sort of like SQLite, only with the features/function of PG? A
> DB like this would exist inside of, and for the duration of, a
> script/program that created it, then vanish when the script/program ends.
Mount a ramdisk, initdb there, run db from there.
Conversely, create the db normally, mount a ram disk, create a
tablespace there, create a db and it's tables there.
The second method might not be optimal because if you don't cleanly
remove the db / tablespace postgresql might have some issues starting
up after a reboot.
From | Date | Subject | |
---|---|---|---|
Next Message | Gauthier, Dave | 2007-11-07 15:40:04 | Re: Temporary, In-memory Postgres DB? |
Previous Message | Simon Riggs | 2007-11-07 15:37:12 | Re: any way for ORDER BY x to imply NULLS FIRST in 8.3? |