Re: PostgreSQL on Solaris 8 and ufs

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: PostgreSQL on Solaris 8 and ufs
Date: 2005-03-23 23:39:34
Message-ID: 200503231539.34978.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Andrew - Supernews 2005-03-24 09:14:25 Re: BUG #1552: massive performance hit between 7.4 and 8.0.1
Previous Message Tom Lane 2005-03-23 22:13:40 Re: BUG #1552: massive performance hit between 7.4 and 8.0.1