| From: | "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com> |
|---|---|
| To: | Devrim GÜNDÜZ <devrim(at)commandprompt(dot)com> |
| Cc: | Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>, pgsql-hackers(at)postgresql(dot)org, Andrew Dunstan <andrew(at)dunslane(dot)net>, Alex Drobychev <adrobj(at)yahoo(dot)com>, Heikki Linnakangas <heikki(at)enterprisedb(dot)com> |
| Subject: | Re: How to keep a table in memory? |
| Date: | 2007-11-13 02:53:01 |
| Message-ID: | 4739118D.6030404@commandprompt.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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,
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Joshua D. Drake | 2007-11-13 02:55:09 | Re: How to keep a table in memory? |
| Previous Message | Andrew Dunstan | 2007-11-13 02:49:46 | Re: How to keep a table in memory? |