pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: pgsql-admin@postgresql.org
To: A J <s5aly@yahoo.com>
Subject: Re: How much RAM is too much ?
Date: Thu, 22 Jul 2010 15:55:29 -0500
Message-ID: <4C4869F10200002500033B8C@gw.wicourts.gov> (raw)
In-Reply-To: <819397.8724.qm@web120007.mail.ne1.yahoo.com>
References: <819397.8724.qm@web120007.mail.ne1.yahoo.com>

A J <s5aly@yahoo.com> wrote:
 
> Cost aside, are there any technical factors to consider before
> increasing RAM (assuming the system can support it) ? Is there a
> sweet spot beyond which more RAM does not help Postgres or
> actually harms ?
 
I've never heard of putting more RAM in a machine hurting
performance, as long as it's the right type of RAM for that machine.
On the other hand, you can easily configure PostgreSQL to allocate
more RAM for specific purposes than is good.
 
> If my database is only couple of hundred Gigs, can I not just have
> RAM that big and have read from buffer all the time ?
 
Sure, as long as you allow enough extra for the OS and all other
processes.  If you're looking at hundreds of GB of RAM on a box,
plan on letting the OS use the vast majority of that for caching.
 
This doesn't obviate the need for a RAID controller with its own BBU
RAM if you want write performance to be good.
 
-Kevin



view thread (6+ messages)  latest in thread

Message-ID: <4C4869F10200002500033B8C@gw.wicourts.gov>
Permalink:  ../4C4869F10200002500033B8C@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4C4869F10200002500033B8C@gw.wicourts.gov

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, s5aly@yahoo.com
  Subject: Re: How much RAM is too much ?
  In-Reply-To: <4C4869F10200002500033B8C@gw.wicourts.gov>
  References: <819397.8724.qm@web120007.mail.ne1.yahoo.com> <4C4869F10200002500033B8C@gw.wicourts.gov>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox