Re: Does anyone use in ram postgres database?

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Does anyone use in ram postgres database?
Дата
Msg-id b42b73151003251304j7da5f8fasc3d7c8345db2c215@mail.gmail.com
обсуждение исходный текст
Ответ на Does anyone use in ram postgres database?  (Chris Barnes <compuguruchrisbarnes@hotmail.com>)
Ответы Re: Does anyone use in ram postgres database?  (Alan McKay <alan.mckay@gmail.com>)
Список pgsql-general
On Thu, Mar 25, 2010 at 2:42 PM, Chris Barnes
<compuguruchrisbarnes@hotmail.com> wrote:
>   We are testing in memory postgres database and have questions about
> configuring the ram mount point and whether there is great gains in setting
> it up this way? Are there any considerations for postgres?

There is very little reason to do this.  both postgres and the
operating system cache frequently used pages in memory already and
they are pretty smart about it -- this leaves more memory for
temporary demands like sorts, indexes, large result sets, etc.  It's
usually just as good to simply set fsync=off on the database in
scenarios where you are ok with data loss following a crash and the
system is performance critical.

merlin

В списке pgsql-general по дате отправления:

Предыдущее
От: Frans Hals
Дата:
Сообщение: Re: Large index operation crashes postgres
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: Does anyone use in ram postgres database?