pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: paul@oxton.com
Cc: pgsql-performance@postgresql.org
Subject: Re: Data Warehousing Tuning
Date: Wed, 6 Jul 2005 17:40:12 -0700
Message-ID: <200507061740.12875.josh@agliodbs.com> (raw)
In-Reply-To: <3688.217.45.209.171.1120670147.squirrel@www.gradwell.com>
References: <3688.217.45.209.171.1120670147.squirrel@www.gradwell.com>

Paul,

> Has anyone experienced real performance gains by moving the pg_xlog
> files?

Yes.   Both for data load and on OLTP workloads, this increased write 
performance by as much as 15%.   However, you need to configure the xlog 
drive correctly, you can't just move it to a new disk.    Make sure the 
other disk is dedicated exclusively to the xlog, set it forcedirectio, and 
increase your checkpoint_segments to something like 128.

-- 
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco



view thread (4+ messages)  latest in thread

Message-ID: <200507061740.12875.josh@agliodbs.com>
Permalink:  ../200507061740.12875.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200507061740.12875.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, paul@oxton.com
  Subject: Re: Data Warehousing Tuning
  In-Reply-To: <200507061740.12875.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