Re: [pgsql-general] In memory tables/databases

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Alexander Todorov" <alexx(dot)todorov(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [pgsql-general] In memory tables/databases
Date: 2007-07-01 18:13:04
Message-ID: 15673.1183313584@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Alexander Todorov" <alexx(dot)todorov(at)gmail(dot)com> writes:
> is there anything to emulate the MySQL memory table engine?
> A straight forward solution is to create a ramfs volume and mount/link
> content under /var/lib/postresql there. Then add some scripts to
> save/restore databases when the server restarts.
> I am wondering is there something else?

As long as shared_buffers is high enough, there doesn't seem to be much
point in worrying about this; the incremental performance gain will be
minimal since everything will be in RAM anyway. Or do you think losing
the content of the database at server crash is a feature?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Todorov 2007-07-01 18:29:07 Re: [pgsql-general] In memory tables/databases
Previous Message Alexander Todorov 2007-07-01 17:36:44 [pgsql-general] In memory tables/databases