pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Haestan <haestan@gmail.com>
To: Jesper Krogh <jesper@krogh.cc>
Cc: pgsql-performance@postgresql.org
Subject: Re: Performance advice for a new low(er)-power server
Date: Fri, 17 Jun 2011 10:42:19 +0200
Message-ID: <90F18659-0304-40B6-88B2-A0D5930364DC@gmail.com> (raw)
In-Reply-To: <4DFA4B89.6080504@krogh.cc>
References: <BANLkTinXa4ZVigTQ7Q=05saam_3GZdyx7g@mail.gmail.com>
	<4DFA4B89.6080504@krogh.cc>


On Jun 16, 2011, at 20:29, Jesper Krogh wrote:

> On 2011-06-16 17:09, Haestan wrote:
>> I am evaluating hardware for a new PostgreSQL server. For reasons
>> concerning power consumption and available space it should not have
>> more than 4 disks (in a 1U case), if possible. Now, I am not sure what
>> disks to use and how to layout them to get the best performance.
> What is your data:memory-size ratio? Can you afford to have everything
> in memory and only have the disks to be able to sustain writes?

Yes, I can definitely affort to have everything in memory. Right now,
the main database is about 10GB in size including bloat (around 4GB
without). And there are some more db's of about 4GB in size. So in
total around 14GB at the moment and slowly rising.

I was planning to put in at least 16GB RAM or probably even 24GB to be
safe. The problem is that the data of the main db is more or less
constantly updated or deleted/reinserted throughout the day. It seems
to me that the resulting bloat and the constant new data is really
hurting the cache hit rate (which is now around 90% in the main appl.).
It's those remaining queries that read from the disk that I really
would like to speed up as best as possible.

>> Furthermore, the LSI MegaRAID 9261 offers CacheCade which uses SSD
>> disks a as secondary tier of cache for the SAS disks. Would this
>> feature make sense for a PostgreSQL server, performance wise?
> I have one CacheCade setup...  not a huge benefit but it seems
> measurable. (but really hard to test).  .. compared to a full
> SSD-setup I wouldn't consider it at all.

Thanks for that input. What I've read from you and others, the SSD
cache doesn't seem a viable option for me.




view thread (12+ messages)  latest in thread

Message-ID: <90F18659-0304-40B6-88B2-A0D5930364DC@gmail.com>
Permalink:  ../90F18659-0304-40B6-88B2-A0D5930364DC@gmail.com/
Also on:    postgresql.org/message-id/90F18659-0304-40B6-88B2-A0D5930364DC@gmail.com

 · 

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-performance@postgresql.org
  Cc: haestan@gmail.com, jesper@krogh.cc
  Subject: Re: Performance advice for a new low(er)-power server
  In-Reply-To: <90F18659-0304-40B6-88B2-A0D5930364DC@gmail.com>
  References: <BANLkTinXa4ZVigTQ7Q=05saam_3GZdyx7g@mail.gmail.com> <4DFA4B89.6080504@krogh.cc> <90F18659-0304-40B6-88B2-A0D5930364DC@gmail.com>

* 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