pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rod Taylor <pg@rbt.ca>
To: Andrew Hammond <ahammond@ca.afilias.info>
Cc: Postgresql Performance <pgsql-performance@postgresql.org>
Subject: Re: NAS, SAN or any alternate solution ?
Date: Wed, 22 Sep 2004 16:52:59 -0400
Message-ID: <1095886379.24440.56.camel@jester> (raw)
In-Reply-To: <4151E1E7.2000009@ca.afilias.info>
References: <OF87F30D92.9973FC60-ONC1256ED7.0029C226-C1256ED7.002B6957@beauchamp.loxane.fr>
	<1090344321.7056.105.camel@jester>
	<4151E1E7.2000009@ca.afilias.info>

> Rod Taylor wrote:
> | I've used both a NetApp and Hitachi based SANs with PostgreSQL. Both
> | work as well as expected, but do require some tweeking as they normally
> | are not optimized for the datablock size that PostgreSQL likes to deal
> | with (8k by default) -- this can make as much as a 50% difference in
> | performance levels.

> I'm also not entirely sure how to make the datablocks line up with the
> filesystem blocks. Any suggestions on this would be greatly appreciated.

We just played with Veritas settings while running pg_bench on a 200GB
database. I no longer have access to the NetApp, but the settings for
the Hitachi are below.

In tunefstab we have:

read_pref_io=8192,read_nstream=4,write_pref_io=8192,write_nstream=2

In fstab it's:
	defaults,mincache=tmpcache,noatime


If you have better settings, please shoot them over so we can try them
out. Perhaps even get someone over there to write a new SAN section in
the Tuning Chapter.




view thread (9+ messages)  latest in thread

Message-ID: <1095886379.24440.56.camel@jester>
Permalink:  ../1095886379.24440.56.camel@jester/
Also on:    postgresql.org/message-id/1095886379.24440.56.camel@jester

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: pg@rbt.ca, ahammond@ca.afilias.info
  Subject: Re: NAS, SAN or any alternate solution ?
  In-Reply-To: <1095886379.24440.56.camel@jester>

* 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