Re: In memory Database for postgres

From: Greg Smith <gsmith(at)gregsmith(dot)com>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: Blazej <bl(dot)oleszkiewicz(at)gmail(dot)com>, avin_friends(at)yahoo(dot)com, postgresql Forums <pgsql-general(at)postgresql(dot)org>
Subject: Re: In memory Database for postgres
Date: 2008-11-17 23:26:48
Message-ID: Pine.GSO.4.64.0811171822200.17260@westnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 17 Nov 2008, Scott Marlowe wrote:

> Just wondering if you compared it to how fast it runs if you've got
> lots of shared_buffers and everything fits into memory. That would be
> an interesting comparison.

With a large increase in work_mem as well to speed up sorting. If the
bottleneck is write speed on the intermediate results mentioned, then it
may very well be the case that the best way to accelerate this workload is
with a RAM-based tablespace. But in some cases tuning shared_buffers and
work_mem way upwards is all it takes.

--
* Greg Smith gsmith(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Blazej 2008-11-17 23:31:50 Re: In memory Database for postgres
Previous Message Scott Marlowe 2008-11-17 23:05:07 Re: In memory Database for postgres