pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Andrew Sullivan <ajs@crankycanuck.ca>
Cc: pgsql-performance@postgresql.org
Subject: Re: PostgreSQL on Solaris 8 and ufs
Date: Wed, 23 Mar 2005 15:39:34 -0800
Message-ID: <200503231539.34978.josh@agliodbs.com> (raw)
In-Reply-To: <20050323175507.GC26236@phlogiston.dyndns.org>
References: <Pine.LNX.4.58L.0503221439160.24435@cash.rhiamet.com>
	<Pine.LNX.4.58L.0503231113410.24435@cash.rhiamet.com>
	<20050323175507.GC26236@phlogiston.dyndns.org>

Andrew,

> The Packer Solaris database book (Packer, Allan N., _Configuring &
> Tuning Databases on the Solaris Platform_.  Palo Alto: Sun
> Microsystems P, 2002.  ISBN 0-13-083417-3) does suggest mounting the
> filesystems with forcedirectio; I dimly recall using this for the wal
> partition on one test box, and STR that it helped.

This is a good idea for a WAL partition, but is NOT a good idea for the 
database.

You pay want to look into setting segmap_percent to 70% or something.   On 
Solaris 10 at least, the OS by default only uses 10% of memory for disk 
buffers.   

-- 
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco



view thread (13+ messages)  latest in thread

Message-ID: <200503231539.34978.josh@agliodbs.com>
Permalink:  ../200503231539.34978.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200503231539.34978.josh@agliodbs.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: josh@agliodbs.com, ajs@crankycanuck.ca
  Subject: Re: PostgreSQL on Solaris 8 and ufs
  In-Reply-To: <200503231539.34978.josh@agliodbs.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