Re: How to keep a table in memory? - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: How to keep a table in memory?
Date
Msg-id 4739118D.6030404@commandprompt.com
Whole thread Raw
In response to Re: How to keep a table in memory?  (Devrim GÜNDÜZ <devrim@CommandPrompt.com>)
List pgsql-hackers
Devrim GÜNDÜZ wrote:
> Hi,
> 
> On Mon, 2007-11-12 at 21:15 -0500, Robert Treat wrote:
>>> 2. you should investigate one or more of: pg_memcache, solid state
>>> disk.
>> you might also consider creating a tablespace on tmpfs or ramfs or
>> something like pramfs
> 
> IIRC, ramfs are not that good for database use: If you want to extend
> its size, you have to stop the database instance -- which is not
> considered good.

Well, depending on the size you could push the table to another table 
space, drop the old table space, resize the ramfs, and reverse the 
previous :)

Joshua D. Drake

> 
> Regards,



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: How to keep a table in memory?
Next
From: "Joshua D. Drake"
Date:
Subject: Re: How to keep a table in memory?