pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Rhaoni Chiu Pereira <rhaoni@sistemica.info>
Cc: pgsql-performance@postgresql.org
Subject: Re: Low Insert/Update Performance
Date: Wed, 22 Oct 2003 09:58:28 -0700
Message-ID: <200310220958.28201.josh@agliodbs.com> (raw)
In-Reply-To: <1066841444.3f96b564d6d93@sistemica.info>
References: <1066659206.3f93ed86b9907@sistemica.info>
	<200310220927.49451.josh@agliodbs.com>
	<1066841444.3f96b564d6d93@sistemica.info>

Rhaoni,

>    First of all , thank's for your atention and fast answer. The system
> really bogs down when I'm doing a whole series of these updates.

That would be consistent with a single-disk problem.

> Take a
> look at my postgresql.conf I'm afraid of putting some parameters wrong (
> too high or too low ). And sorry if it sounds stupid but how can I move the
> transaction log to this second disk ?

1) Install the 2nd disk.
2) With PostgreSQL shut down, copy the PGDATA/pg_xlog directory to the 2nd 
disk.
3) delete the old pg_xlog directory
4) Symlink or Mount the new pg_xlog directory under PGDATA as PGDATA/pg_xlog.
5) Restart Postgres.

What I am interested in is your original assertion that this ran faster on 
Oracle.   Was Oracle installed on this particular machine, or a different 
one?

-- 
Josh Berkus
Aglio Database Solutions
San Francisco



view thread (8+ messages)

Message-ID: <200310220958.28201.josh@agliodbs.com>
Permalink:  ../200310220958.28201.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200310220958.28201.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: josh@agliodbs.com, rhaoni@sistemica.info
  Subject: Re: Low Insert/Update Performance
  In-Reply-To: <200310220958.28201.josh@agliodbs.com>
  References: <1066659206.3f93ed86b9907@sistemica.info> <200310220927.49451.josh@agliodbs.com> <1066841444.3f96b564d6d93@sistemica.info> <200310220958.28201.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