Re: Would my postgresql 8.4.12 profit from doubling RAM?

From: Alexander Farber <alexander(dot)farber(at)gmail(dot)com>
To:
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Would my postgresql 8.4.12 profit from doubling RAM?
Date: 2012-09-04 08:59:05
Message-ID: CAADeyWiT3puja7HH8edAwDU9cUyb0uD8itogJy59_60hsc2LFA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello, thank you for your replies and sorry for the delay in my replying -

On Thu, Aug 30, 2012 at 4:45 PM, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> wrote:
> On Thu, Aug 30, 2012 at 8:42 AM, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> wrote:
>> users, and currently work_mem is set to 1M (the default.) If you
>> increase that to 16M, that'd be max 1.6G of memory, which you have
>> free anyway right now.

I did look at the vmstat output, but can't deduce anything from it:

# free -m
total used free shared buffers cached
Mem: 15862 13289 2573 0 588 8407
-/+ buffers/cache: 4293 11569
Swap: 2046 0 2046

# vmstat
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
5 0 256 2610788 602424 8605344 0 0 0 112 0 0 10
0 88 1 0

I'll try changing work_mem to 2MB first - once I upgrade the RAM.

Regards
Alex

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2012-09-04 09:05:11 Re: recovering databases
Previous Message Devrim GÜNDÜZ 2012-09-04 07:54:13 Re: SEPostgreSQL alive?