pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Kirkwood <markir@paradise.net.nz>
To: Brandon Metcalf <bmetcalf@nortel.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: PostgreSQL on Solaris 8 and ufs
Date: Wed, 23 Mar 2005 09:26:16 +1200
Message-ID: <42408D78.1020100@paradise.net.nz> (raw)
In-Reply-To: <Pine.LNX.4.58L.0503221439160.24435@cash.rhiamet.com>
References: <Pine.LNX.4.58L.0503221439160.24435@cash.rhiamet.com>

Brandon Metcalf wrote:
> We've recently moved our pgsql installation and DBs to a Solaris 8
> machine with striped and mirrored ufs filesystem that houses the DB
> data.  We are now seeing terrible performance and the bottleneck is no
> doubt disk I/O.
> 
> We've tried modifying a tunables related to ufs, but it doesn't seem
> to be helping.
> 
> Is there anything we should be looking at that is specifically related
> to ufs filesystems on Solaris 8 or possibly something in general that
> would improve performance?
> 
> Thanks.
> 

I found that mounting the filesystem that contains the PGDATA directory 
(probably only the pg_xlog directory in fact) without logging improved 
things a great deal (assuming you are using logging that is...).

In addition changing the postgresql.conf parameter wal_sync_method from 
the default of open_datasync to fdatasync improved  things a bit more. 
However I seem to recall a posting suggesting the opposite! ...so feel 
free to experiment and let us know!

Mark

P.s : original tests on Solaris 8, 
http://archives.postgresql.org/pgsql-performance/2003-12/msg00165.php



view thread (13+ messages)  latest in thread

Message-ID: <42408D78.1020100@paradise.net.nz>
Permalink:  ../42408D78.1020100@paradise.net.nz/
Also on:    postgresql.org/message-id/42408D78.1020100@paradise.net.nz

 · 

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: markir@paradise.net.nz, bmetcalf@nortel.com
  Subject: Re: PostgreSQL on Solaris 8 and ufs
  In-Reply-To: <42408D78.1020100@paradise.net.nz>

* 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