Re: Postgres as In-Memory Database? - Mailing list pgsql-general

From Edson Richter
Subject Re: Postgres as In-Memory Database?
Date
Msg-id BLU0-SMTP64973D75A470AD792CA15ECFE50@phx.gbl
Whole thread Raw
In response to Re: Postgres as In-Memory Database?  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: Postgres as In-Memory Database?
List pgsql-general
Em 17/11/2013 10:00, Michael Paquier escreveu:
> On Sun, Nov 17, 2013 at 8:25 PM, Stefan Keller <sfkeller@gmail.com> wrote:
>> How can Postgres be used and configured as an In-Memory Database?
>>
>> Does anybody know of thoughts or presentations about this "NoSQL feature" -
>> beyond e.g. "Perspectives on NoSQL" from Gavin Roy at PGCon 2010)?
>>
>> Given, say 128 GB memory or more, and (read-mostly) data that fit's into
>> this, what are the hints to optimize Postgres (postgresql.conf etc.)?
> In this case as you are trading system safety (system will not be
> crash-safe) for performance... The following parameters would be
> suited:
> - Improve performance by reducing the amount of data flushed:
> fsync = off
> synchronous_commit=off
> - Reduce the size of WALs:
> full_page_writes = off
> - Disable the background writer:
> bgwriter_lru_maxpages = 0
> Regards,
One question: would you please expand your answer and explain how would
this adversely affect async replication?

Edson


pgsql-general by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Postgres as In-Memory Database?
Next
From: rob stone
Date:
Subject: Re: Postgres as In-Memory Database?